Added LDFLAGS to makefile.
This commit is contained in:
parent
828848425c
commit
9610d35611
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user