diff --git a/activemq-cpp/makefile-windows-debug.cfg b/activemq-cpp/makefile-windows-debug.cfg index eefd366038..9200dafd3b 100644 --- a/activemq-cpp/makefile-windows-debug.cfg +++ b/activemq-cpp/makefile-windows-debug.cfg @@ -2,7 +2,9 @@ # Compiler specific configuration # -LIBFILE = $(OUTDIR)/libactivemq-cpp.a +OUTDIR = out +LIBRARY_NAME = activemq-cpp +LIBFILE = $(OUTDIR)/lib$(LIBRARY_NAME).a # # GCC/G++ debug for Linux @@ -10,7 +12,7 @@ LIBFILE = $(OUTDIR)/libactivemq-cpp.a CC = g++ -fexceptions -frtti -O0 -g3 -DDEBUG -D_DEBUG -D_REENTRANT -D_WIN32 -DWINVER=0x0502 -DWIN32_LEAN_AND_MEAN LD = g++ -g3 -frtti CCFLAGS = -Wall -LDFLAGS = -L$(OUTDIR) -lactivemq -lcppunit -lws2_32 -lrpcrt4 +LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4 OUTDIR = out ARFLAGS = diff --git a/activemq-cpp/makefile-windows-release.cfg b/activemq-cpp/makefile-windows-release.cfg index 3dcd5f9b15..f5a4fb9a1f 100644 --- a/activemq-cpp/makefile-windows-release.cfg +++ b/activemq-cpp/makefile-windows-release.cfg @@ -2,7 +2,9 @@ # Compiler specific configuration # -LIBFILE = $(OUTDIR)/libactivemq-cpp.a +OUTDIR = out +LIBRARY_NAME = activemq-cpp +LIBFILE = $(OUTDIR)/lib$(LIBRARY_NAME).a # # GCC/G++ release for Linux @@ -10,7 +12,7 @@ LIBFILE = $(OUTDIR)/libactivemq-cpp.a CC = g++ -fexceptions -frtti -O3 -DNDEBUG -D_REENTRANT -D__WIN32 -DWIN32_LEAN_AND_MEAN LD = g++ -frtti CCFLAGS = -Wall -LDFLAGS = -L$(OUTDIR) -lactivemq -lcppunit -lws2_32 -lrpcrt4 +LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4 OUTDIR = out ARFLAGS =