mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Move clean rules to makefile in sim directory. #284
Moved the clean rules to the makefile in the sim directory. They will always work whether the rest of Trick is set up or not.
This commit is contained in:
parent
dfde52864f
commit
60473dde03
23
bin/trick-CP
23
bin/trick-CP
@ -52,6 +52,27 @@ ifndef TRICK_HOME
|
||||
export TRICK_HOME := SUB_TRICK_HOME
|
||||
endif
|
||||
|
||||
include ${TRICK_HOME}/share/trick/makefiles/Makefile.sim
|
||||
-include ${TRICK_HOME}/share/trick/makefiles/Makefile.sim
|
||||
-include S_overrides.mk
|
||||
|
||||
no_makefile_sim:
|
||||
@echo ${TRICK_HOME}/share/trick/makefiles/Makefile.sim not found
|
||||
exit -1
|
||||
|
||||
tidy:
|
||||
-rm -f S_source.hh S_sie.resource
|
||||
-rm -f S_main* T_main*
|
||||
-rm -f build/Makefile_*
|
||||
-rm -rf S_default.dat
|
||||
|
||||
clean: tidy
|
||||
-rm -f DP_Product/DP_rt_frame DP_Product/DP_rt_itimer
|
||||
-rm -f DP_Product/DP_rt_jobs DP_Product/DP_rt_timeline DP_Product/DP_mem_stats
|
||||
-rm -rf build trick
|
||||
@ echo "Removed build directory"
|
||||
|
||||
spotless: clean
|
||||
|
||||
apocalypse: clean
|
||||
@echo "[31mI love the smell of napalm in the morning[0m"
|
||||
|
||||
|
@ -106,24 +106,6 @@ Simulation make options:\n\
|
||||
make spotless - Performs a clean\n\
|
||||
make apocalypse - Performs a clean"
|
||||
|
||||
tidy:
|
||||
-rm -f S_source.hh S_sie.resource
|
||||
-rm -f S_main* T_main*
|
||||
-rm -f build/Makefile_*
|
||||
-rm -rf S_default.dat
|
||||
|
||||
clean: tidy
|
||||
-rm -f DP_Product/DP_rt_frame DP_Product/DP_rt_itimer
|
||||
-rm -f DP_Product/DP_rt_jobs DP_Product/DP_rt_timeline DP_Product/DP_mem_stats
|
||||
-rm -rf build trick
|
||||
@ echo "Removed build directory"
|
||||
|
||||
spotless: clean
|
||||
|
||||
apocalypse: clean
|
||||
@echo "[31mI love the smell of napalm in the morning[0m"
|
||||
|
||||
|
||||
# Dependencies for the above rules generated by configuration_process, ICG, make_makefile and make_makefile_swig
|
||||
-include build/S_define.deps
|
||||
-include build/Makefile_ICG
|
||||
|
Loading…
Reference in New Issue
Block a user