Quick change to the makefile

modified:   Makefile
This commit is contained in:
Brian Barto 2016-04-18 11:12:56 -04:00
parent 3f0c272f44
commit 80d37d7dc4

View File

@ -3,13 +3,13 @@ OBJ=obj
SRC=src
CC = gcc
CFLAGS = -lncurses
LDLIBS = -lncurses
${BIN}/nms: ${OBJ}/nms.o
$(CC) $(CFLAGS) -o $@ $^
$(CC) $(LDLIBS) -o $@ $^
${OBJ}/nms.o: ${SRC}/nms.c ${SRC}/nms.h
$(CC) $(CFLAGS) -o $@ -c ${SRC}/nms.c
$(CC) -o $@ -c ${SRC}/nms.c
clean:
rm -f ${BIN}/*