summaryrefslogtreecommitdiff
path: root/client/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'client/makefile')
-rw-r--r--client/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/makefile b/client/makefile
index e48eaeb..a23ce4f 100644
--- a/client/makefile
+++ b/client/makefile
@@ -13,13 +13,15 @@ SOURCES := $(wildcard *.c)
HEADERS := $(wildcard *.h)
include ../shared/makefile
+CFLAGS += $(if $(WIN32),-I/mingw64/include/ncursesw,)
+
OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
.o:
$(CC) -c $(CFLAGS) $<
$(EXECNAME): $(OBJECTS)
- $(CC) $(LDFLAGS) $(OBJECTS) -o $(EXECNAME)
+ $(CC) $(OBJECTS) -o $(EXECNAME) $(LDFLAGS)
clean::
$(RM) $(EXECNAME) *.o