vpost

annotate 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
rev   line source
nuclear@0 1 PREFIX = /usr/local
nuclear@0 2
nuclear@0 3 src = $(wildcard src/*.c)
nuclear@0 4 obj = $(src:.c=.o)
nuclear@0 5 bin = vpost
nuclear@0 6
nuclear@0 7 CC = gcc
nuclear@0 8 CFLAGS = -pedantic -Wall -g
nuclear@0 9 LDFLAGS = -limago -ldl -lpthread
nuclear@0 10
nuclear@0 11 $(bin): $(obj)
nuclear@0 12 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@0 13
nuclear@0 14
nuclear@0 15 .PHONY: clean
nuclear@0 16 clean:
nuclear@0 17 rm -f $(obj) $(bin)
nuclear@0 18
nuclear@0 19 .PHONY: install
nuclear@0 20 install:
nuclear@0 21 cp $(bin) $(PREFIX)/bin/$(bin)
nuclear@0 22
nuclear@0 23 .PHONY: uninstall
nuclear@0 24 uninstall:
nuclear@0 25 rm -f $(PREFIX)/bin/$(bin)