diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..58b591a --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +CC ?= gcc +CFLAGS = -std=c90 -Wall -Werror +LDFLAGS = -lunbound + +0tDNS : build/0tDNS.o + $(CC) $^ $(LDFLAGS) -o $@ + +build/0tDNS.o : src/0tDNS.c + gcc $(CFLAGS) $^ -c -o $@ |