Makefile: replace SACCLDFLAGS with LIBS - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit fb3b1dda1ebf4b5709bdec7a821a33d69ce01f6a
parent 8f6054695180eb9181e94cc8faa8cb941144891a
Author: Quentin Rameau 
Date:   Mon, 29 Jan 2018 12:05:17 +0100

Makefile: replace SACCLDFLAGS with LIBS

Diffstat:
  M Makefile                            |       2 +-
  M config.mk                           |       3 +--

2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -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
 
diff --git a/config.mk b/config.mk
@@ -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 $<