Quick change to the makefile
modified: Makefile
This commit is contained in:
parent
3f0c272f44
commit
80d37d7dc4
6
Makefile
6
Makefile
@ -3,13 +3,13 @@ OBJ=obj
|
|||||||
SRC=src
|
SRC=src
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -lncurses
|
LDLIBS = -lncurses
|
||||||
|
|
||||||
${BIN}/nms: ${OBJ}/nms.o
|
${BIN}/nms: ${OBJ}/nms.o
|
||||||
$(CC) $(CFLAGS) -o $@ $^
|
$(CC) $(LDLIBS) -o $@ $^
|
||||||
|
|
||||||
${OBJ}/nms.o: ${SRC}/nms.c ${SRC}/nms.h
|
${OBJ}/nms.o: ${SRC}/nms.c ${SRC}/nms.h
|
||||||
$(CC) $(CFLAGS) -o $@ -c ${SRC}/nms.c
|
$(CC) -o $@ -c ${SRC}/nms.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ${BIN}/*
|
rm -f ${BIN}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user