smstools3: Fix NLS build dependencies, improper CFLAGS overrides and LFLAGS added to MAKE_VARS

Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
Ted Hess
2015-11-15 17:02:56 -05:00
parent 018652c376
commit 9357d094f3
2 changed files with 18 additions and 16 deletions
+12 -4
View File
@@ -1,6 +1,15 @@
--- a/src/Makefile 2014-12-20 18:33:55.654252867 +0100
+++ b/src/Makefile 2014-12-20 18:31:10.241359741 +0100
@@ -43,7 +43,7 @@
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
# In case of windows, use os_cygwin=yes setting in the configuration file (smsd.conf).
# Select your setup size:
-CFLAGS = -D NUMBER_OF_MODEMS=64
+CFLAGS ?= -D NUMBER_OF_MODEMS=64
# Uncomment for Solaris
# CFLAGS += -D SOLARIS
@@ -43,7 +43,7 @@ smsd: smsd.c extras.o locking.o cfgfile.
ifneq (,$(findstring SOLARIS,$(CFLAGS)))
ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
@@ -9,4 +18,3 @@
endif
endif