summaryrefslogtreecommitdiff
path: root/client/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'client/makefile')
-rw-r--r--client/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/makefile b/client/makefile
index f70f70f..e48eaeb 100644
--- a/client/makefile
+++ b/client/makefile
@@ -2,6 +2,7 @@ CC = gcc
LD = gcc
RM = rm -f
CFLAGS =
+LDFLAGS = -lncursesw
EXECNAME = main
include ../shared/os.mk
@@ -18,7 +19,7 @@ OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
$(CC) -c $(CFLAGS) $<
$(EXECNAME): $(OBJECTS)
- $(CC) $(OBJECTS) -o $(EXECNAME)
+ $(CC) $(LDFLAGS) $(OBJECTS) -o $(EXECNAME)
clean::
$(RM) $(EXECNAME) *.o