mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 09:49:24 +03:00
Add flag for windows in support Makefile
This commit is contained in:
parent
006236fde8
commit
1857e4b3fe
@ -10,6 +10,7 @@ CFLAGS += -O2
|
|||||||
SRCS = $(wildcard *.c)
|
SRCS = $(wildcard *.c)
|
||||||
ifeq ($(OS), windows)
|
ifeq ($(OS), windows)
|
||||||
SRCS += windows/win_utils.c windows/win_hack.c
|
SRCS += windows/win_utils.c windows/win_hack.c
|
||||||
|
LDFLAGS += -lws2_32
|
||||||
endif
|
endif
|
||||||
OBJS = $(SRCS:.c=.o)
|
OBJS = $(SRCS:.c=.o)
|
||||||
DEPS = $(OBJS:.o=.d)
|
DEPS = $(OBJS:.o=.d)
|
||||||
|
Loading…
Reference in New Issue
Block a user