From 9610d356111497f33841cb35b1b828cfba6fa323 Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Sun, 28 Mar 2010 20:51:16 -0300 Subject: [PATCH] Added LDFLAGS to makefile. --- src/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}