diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,10 +1,19 @@ #CPPFLAGS += -DDEBUG #CFLAGS += -g LDLIBS = -lncursesw -#LDLIBS += -lbsd +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) + rm -f $(BIN) $(OBJ) |