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

Joel Grunbaum
2022-05-23 8f0d56bfe43787ae3c2908e2e7859ae1a58f04fa
Makefile
@@ -1,13 +1,13 @@
CC=gcc
_OBJ=main.o dns.o slist.o
_DEPS=dns.h servers.h slist.h
IDIR=include
CFLAGS=-Wall -g -lpthread
ODIR=obj
SRCDIR=src
CFLAGS=-Wall -lpthread
DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS))
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
ifeq ($(DEV),1)
   CFLAGS += -g
else
   CFLAGS += -O2 -flto
endif
default: dnscomp