From f4b5df5b3af4d367f2116ecb27100ac4befcc79b Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 14 Nov 2014 09:59:19 +0000 Subject: Replace asprintf() with strlcpy() and strlcat() --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2