From 4f7363efbc869e956e8b757e8f039919973b9b7b Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 6 Jan 2013 19:26:01 +0100 Subject: [PATCH] Makefile: put include config later so the program name can be overridden --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b5bbd58..0aac992 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,6 @@ LDSO_SUFFIX = so LD_SET_SONAME = -Wl,-soname= INSTALL_FLAGS = -D -m --include config.mak - LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX) SHARED_LIBS = $(LDSO_PATHNAME) @@ -42,6 +40,7 @@ ALL_LIBS = $(SHARED_LIBS) PXCHAINS = proxychains4 ALL_TOOLS = $(PXCHAINS) +-include config.mak CFLAGS+=$(USER_CFLAGS) $(MAC_CFLAGS) CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DDLL_NAME=\"$(LDSO_PATHNAME)\"