Add flag for windows in support Makefile

This commit is contained in:
Edwin Brady 2020-05-23 16:47:10 +01:00
parent 006236fde8
commit 1857e4b3fe

View File

@ -10,6 +10,7 @@ CFLAGS += -O2
SRCS = $(wildcard *.c)
ifeq ($(OS), windows)
SRCS += windows/win_utils.c windows/win_hack.c
LDFLAGS += -lws2_32
endif
OBJS = $(SRCS:.c=.o)
DEPS = $(OBJS:.o=.d)