vpost
diff Makefile @ 0:12f2c6e4934f
video post effect thingy with plugins... nice show gov'nor
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 19 Oct 2011 06:22:31 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Wed Oct 19 06:22:31 2011 +0300 1.3 @@ -0,0 +1,25 @@ 1.4 +PREFIX = /usr/local 1.5 + 1.6 +src = $(wildcard src/*.c) 1.7 +obj = $(src:.c=.o) 1.8 +bin = vpost 1.9 + 1.10 +CC = gcc 1.11 +CFLAGS = -pedantic -Wall -g 1.12 +LDFLAGS = -limago -ldl -lpthread 1.13 + 1.14 +$(bin): $(obj) 1.15 + $(CC) -o $@ $(obj) $(LDFLAGS) 1.16 + 1.17 + 1.18 +.PHONY: clean 1.19 +clean: 1.20 + rm -f $(obj) $(bin) 1.21 + 1.22 +.PHONY: install 1.23 +install: 1.24 + cp $(bin) $(PREFIX)/bin/$(bin) 1.25 + 1.26 +.PHONY: uninstall 1.27 +uninstall: 1.28 + rm -f $(PREFIX)/bin/$(bin)