--- PamCut/makefile 2009/12/04 14:38:36 1.6 +++ PamCut/makefile 2010/02/08 11:51:29 1.7 @@ -26,8 +26,13 @@ # "#ifdef DEBUGPAMCUT" and "#endif"). Note that if you # use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT # to the compiler options for the main analysis program. +# 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag OPTIMIZE = -g3 #-DDEBUGPAMCUT +# Linker flags +# The flags defined here will be directly inserted into the linker invocation. Place here the +# -m32 flag, for example. +LINKERFLAGS = # Library flags # Pamela software is modular, so some libraries may not be available in some istallations. @@ -77,7 +82,7 @@ libPamCut.so: $(OBJS) $(USER_OBJS) @echo 'Building target: $@' @echo 'Invoking: GCC C++ Linker' - $(C++) -shared -o"libPamCut.so" $(OBJS) + $(C++) -shared $(LINKERFLAGS) -o"libPamCut.so" $(OBJS) @echo 'Finished building target: $@' @echo ' '