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
|
CFLAGS = -W -Wall -pedantic -ansi -std=c99
|
||||||
OUTPUT = ../bin/hatneck
|
OUTPUT = ../bin/hatneck
|
||||||
OBJECTS =
|
OBJECTS =
|
||||||
|
LDFLAGS = -lncurses
|
||||||
|
|
||||||
hatneck: ${OBJECTS}
|
hatneck: ${OBJECTS}
|
||||||
${CC} ${CFLAGS} hatneck.c -o ${OUTPUT} ${OBJECTS}
|
${CC} ${CFLAGS} ${LDFLAGS} hatneck.c -o ${OUTPUT} ${OBJECTS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.o ${OUTPUT}
|
rm -rf *.o ${OUTPUT}
|
||||||
|
Loading…
Reference in New Issue
Block a user