nnn/Makefile
2014-10-21 11:08:57 +01:00

20 lines
279 B
Makefile

#CPPFLAGS += -DDEBUG
#CFLAGS += -g
LDLIBS = -lncursesw
OBJ = noice.o strlcpy.o
BIN = noice
all: $(BIN)
$(BIN): $(OBJ)
$(CC) -o $@ $(OBJ) $(LDLIBS)
noice.o: noice.c queue.h util.h
$(CC) -c noice.c
strlcpy.o: strlcpy.c util.h
$(CC) -c strlcpy.c
clean:
rm -f $(BIN) $(OBJ)