aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar sin <sin@2f30.org>2014-11-14 09:59:19 +0000
committerGravatar sin <sin@2f30.org>2014-11-14 10:26:46 +0000
commitf4b5df5b3af4d367f2116ecb27100ac4befcc79b (patch)
tree22a9095390ffcc9d79d904b85e3752b2ebd42089 /Makefile
parentcc88af72ca6a18925e28748cce854c514fbc7752 (diff)
downloadnnn-f4b5df5b3af4d367f2116ecb27100ac4befcc79b.tar.gz
Replace asprintf() with strlcpy() and strlcat()
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85c4631..d8736df 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ MANPREFIX = $(PREFIX)/man
#CFLAGS += -g
LDLIBS = -lncursesw
-OBJ = noice.o strlcpy.o
+OBJ = noice.o strlcat.o strlcpy.o
BIN = noice
all: $(BIN)
@@ -14,6 +14,7 @@ $(BIN): $(OBJ)
$(CC) $(CFLAGS) -o $@ $(OBJ) $(LDLIBS)
noice.o: util.h config.h
+strlcat.o: util.h
strlcpy.o: util.h
install: all