mirror of https://github.com/Chizi123/dnscomp.git

Joel Grunbaum
2022-05-31 e76468266a677537f1dbbe76e81aa87be60c67e3
Makefile
@@ -1,5 +1,5 @@
CC=gcc
_OBJ=main.o dns.o slist.o
_OBJ=dns.o slist.o
_DEPS=dns.h servers.h slist.h
CFLAGS=-Wall -lpthread
@@ -14,7 +14,10 @@
%.o: %c $(DEPS)
   $(CC) -c -o $@ $< $(CFLAGS)
dnscomp: $(_OBJ)
dnscomp: $(_OBJ) main.o
   $(CC) -o $@ $^ $(CFLAGS)
test: $(_OBJ) test.o
   $(CC) -o $@ $^ $(CFLAGS)
.PHONY: clean