Create a separate directory for simulation compiliation.

Partial link commands need -m32 for 32 bit builds.  Fixed help text
for simulation makefile.

refs #80
This commit is contained in:
Alex Lin 2015-07-08 14:19:39 -05:00
parent b660aa371e
commit 5d397ecf1c
2 changed files with 8 additions and 7 deletions

View File

@ -102,6 +102,7 @@ ifeq ($(TRICK_FORCE_32BIT), 1)
TRICK_CFLAGS += -m32
TRICK_CXXFLAGS += -m32
TRICK_LDFLAGS += -m32
LD_PARTIAL += -m32
endif
IS_CC_CLANG = $(shell ${TRICK_CPPC} -xc /dev/null -dM -E | grep -c __clang__)

View File

@ -43,14 +43,14 @@ sie ICG force_ICG convert_swig S_define_exp:
@if [ -f build/Makefile_sim ] ; then $(MAKE) --no-print-directory -f build/Makefile_sim $@ ; else echo "No build/Makefile_sim found" ; fi
help:
@ echo -e "\n\
@ echo -e "\
Simulation make options:\n\
make - Makes everything: S_main and S_sie.resource\n\
make S_sie.resource - Rebuilds the S_sie.resource file.\n\
make clean - Removes all object files in simulation directory\n\
make real_clean - Performs a clean\n\
make spotless - Performs a clean\n\
make apocalypse - Performs a clean"
make [debug] [TRICK_VERBOSE_BUILD=1] - Makes everything: S_main and S_sie.resource\n\
make model_dirs - Lists model directories use to build simulation\n\
make sie - Builds the S_sie.resource file.\n\
make clean - Removes all object files in simulation directory\n\
make spotless - Performs a clean\n\
make apocalypse - Performs a clean"
tidy:
-rm -f S_sie.resource