diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -36,16 +36,16 @@ ifeq ($(COLORIZE), 1) CFLAGS += -DCOLORIZE=1 endif -CFLAGS += $(INCLUDEFLAGS) -D_REENTRANT -ggdb3 -Wall -Wextra -Wsign-conversion -Wno-unused-parameter $(shell pkg-config gnutls --cflags) +CFLAGS += $(INCLUDEFLAGS) -D_REENTRANT -ggdb3 -Wall -Wextra -Wsign-conversion -Wno-unused-parameter -LDFLAGS = -lpthread $(shell pkg-config gnutls --libs) +LDFLAGS = -lpthread DEPS = $(shell $(CC) $(INCLUDEFLAGS) -MM -MT $(1).o $(1).c | sed -z 's/\\\n //g') .PHONY: all clean cleanall release all: haxserv -haxserv: main.o server_network.o client_network.o general_network.o commands.o table.o config.o tls.o utils.o +haxserv: main.o server_network.o client_network.o general_network.o commands.o table.o config.o utils.o $(CC) $^ -o $@ $(LDFLAGS) %.o: %.c @@ -65,8 +65,6 @@ $(call DEPS,table) $(call DEPS,config) -$(call DEPS,tls) - $(call DEPS,utils) clean: |