diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,9 +1,14 @@ CC ?= gcc -CFLAGS = -std=c90 -Wall -Werror -LDFLAGS = -lunbound +CFLAGS = -std=c99 -Wall -Werror 0tDNS : build/0tDNS.o - $(CC) $^ $(LDFLAGS) -o $@ + $(CC) $^ -lunbound -o $@ build/0tDNS.o : src/0tDNS.c gcc $(CFLAGS) $^ -c -o $@ + +receive : build/receive.o + $(CC) $^ -lldns -o $@ + +build/receive.o : src/receive.c + gcc $(CFLAGS) $^ -c -o $@ |