diff --git a/src/makefile b/src/makefile index 02a2b4e..0b70c70 100644 --- a/src/makefile +++ b/src/makefile @@ -2,9 +2,10 @@ CC = gcc CFLAGS = -W -Wall -pedantic -ansi -std=c99 OUTPUT = ../bin/hatneck OBJECTS = +LDFLAGS = -lncurses hatneck: ${OBJECTS} - ${CC} ${CFLAGS} hatneck.c -o ${OUTPUT} ${OBJECTS} + ${CC} ${CFLAGS} ${LDFLAGS} hatneck.c -o ${OUTPUT} ${OBJECTS} clean: rm -rf *.o ${OUTPUT}