tMakefile: replace SACCLDFLAGS with LIBS - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit fb3b1dda1ebf4b5709bdec7a821a33d69ce01f6a (DIR) parent 8f6054695180eb9181e94cc8faa8cb941144891a (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 29 Jan 2018 12:05:17 +0100 Makefile: replace SACCLDFLAGS with LIBS Diffstat: Makefile | 2 +- config.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -13,7 +13,7 @@ config.h: cp config.def.h config.h $(BIN): $(OBJ) - $(CC) $(OBJ) $(SACCLDFLAGS) -o $@ + $(CC) $(OBJ) $(LDFLAGS) $(LIBS) -o $@ $(OBJ): config.h config.mk common.h (DIR) diff --git a/config.mk b/config.mk t@@ -6,11 +6,10 @@ PREFIX = /usr/local UI=txt # ti (screen-oriented) #UI=ti -#UIFLAGS=-lcurses +#LIBS=-lcurses # Stock FLAGS SACCCFLAGS = -D_DEFAULT_SOURCE $(CFLAGS) -SACCLDFLAGS = $(UIFLAGS) $(LDFLAGS) .c.o: $(CC) $(SACCCFLAGS) -c $<