2016-04-15 11:02:09 -07:00
|
|
|
BIN=bin
|
|
|
|
OBJ=obj
|
|
|
|
SRC=src
|
|
|
|
|
|
|
|
CC = gcc
|
2016-04-18 08:12:56 -07:00
|
|
|
LDLIBS = -lncurses
|
2016-04-15 11:02:09 -07:00
|
|
|
|
|
|
|
${BIN}/nms: ${OBJ}/nms.o
|
2016-04-18 08:12:56 -07:00
|
|
|
$(CC) $(LDLIBS) -o $@ $^
|
2016-04-15 11:02:09 -07:00
|
|
|
|
|
|
|
${OBJ}/nms.o: ${SRC}/nms.c ${SRC}/nms.h
|
2016-04-18 08:12:56 -07:00
|
|
|
$(CC) -o $@ -c ${SRC}/nms.c
|
2016-04-15 11:02:09 -07:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ${BIN}/*
|
|
|
|
rm -f $(OBJ)/*
|