mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
Move clean rules to makefile in sim directory. #284
Added the clean rules back to Makefile.sim with a addition of defining a conditional variable. If this variable is set than the set of rules in the local makefile will not be defined. This should allow the sim to be cleaned whether TRICK_HOME exists or not.
This commit is contained in:
parent
d0349772d5
commit
90552a5053
@ -106,6 +106,25 @@ 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 -f 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"
|
||||
|
||||
CLEAN_RULES_DEFINED = 1
|
||||
|
||||
# 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