Added LDFLAGS to makefile.

This commit is contained in:
Murilo Soares Pereira 2010-03-28 20:51:16 -03:00
parent 828848425c
commit 9610d35611

View File

@ -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}