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