diff options
author | sin <sin@2f30.org> | 2014-10-21 11:08:57 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-21 11:08:57 +0100 |
commit | a9b5370ac67c586771472f4d2763a971cc519c5c (patch) | |
tree | 97ae7b512f5e3a6eca55f5e66e44a5fde5699718 /Makefile | |
parent | 955152417fd24026dfd5582068cb50219419b137 (diff) | |
download | nnn-a9b5370ac67c586771472f4d2763a971cc519c5c.tar.gz |
Add strlcpy()
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) |