# Fix bug  #750350.
Index: smstools3/src/Makefile
===================================================================
--- smstools3.orig/src/Makefile	2017-05-10 13:15:29.909783813 +0200
+++ smstools3/src/Makefile	2017-05-10 13:16:06.759955345 +0200
@@ -49,16 +49,17 @@
 # Use the following only on GNU/Linux and only if you need ps listing like "smsd: MAINPROCESS" and "smsd: GSM1"
 # CFLAGS += -D USE_LINUX_PS_TRICK
 
-all: smsd 
-
-smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o
-
 ifneq (,$(findstring SOLARIS,$(CFLAGS)))
 ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
 	override LFLAGS += -lsocket -lnsl
 endif
 endif
 
+all: smsd
+
+smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o
+
+
 ifneq (,$(findstring NOSTATS,$(CFLAGS)))
 	$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS)
 else 
