STRIP =
WARN_MSG =
else
-STRIP = -s
+STRIP = -Wl,-x
WARN_MSG = "(without symbols) "
endif
else
Link := $(CXX)
endif
-LinkG := $(Link) -g -L $(LIBDEBUG) $(STRIP)
-LinkO := $(Link) -O3 -L $(LIBRELEASE)
-LinkP := $(Link) -O3 -L $(LIBPROFILE) $(PROFILE)
+LinkG := $(Link) -g -L$(LIBDEBUG) $(STRIP)
+LinkO := $(Link) -O3 -L$(LIBRELEASE)
+LinkP := $(Link) -O3 -L$(LIBPROFILE) $(PROFILE)
# Create one .o file from a bunch of .o files...
Relink = ld -r
# 'make clean' nukes the tree
clean::
$(VERB) rm -rf $(BUILD_ROOT)/Debug $(BUILD_ROOT)/Release $(BUILD_ROOT)/Profile $(BUILD_ROOT)/Depend
- $(VERB) rm -f core *.o *.d *.so *~ *.flc
+ $(VERB) rm -f core core.[0-9][0-9]* *.o *.d *.so *~ *.flc
# If dependancies were generated for the file that included this file,
# include the dependancies now...