doorbell

view doorbelld/Makefile @ 3:73b16c2ae6bf

merge
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Mar 2016 07:56:26 +0200
parents
children f21ae31ef0e7
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = doorbelld
5 CFLAGS = -pedantic -Wall -g
6 LDFLAGS = -lwcam -lpthread
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)