diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-04-30 14:19:53 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-04-30 14:19:53 +0200 |
commit | 25db58b1a7add523f7a113a0ddad9e71a066697c (patch) | |
tree | af88472890f3ce52558f25210f85ffd08fdd79d5 /Makefile | |
parent | 805ce3b594a6efed821eb02ef52206c514a7e4bf (diff) | |
download | 0tdns-25db58b1a7add523f7a113a0ddad9e71a066697c.tar.gz 0tdns-25db58b1a7add523f7a113a0ddad9e71a066697c.zip |
add initial Makefile
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 $@ |