diff --git a/bin/trick-CP b/bin/trick-CP index a56c7091..3fcb2b67 100755 --- a/bin/trick-CP +++ b/bin/trick-CP @@ -149,6 +149,8 @@ __END__ # Disable built-in implicit rules to increase build speed. .SUFFIXES: +.PHONY: all + ifndef TRICK_HOME export TRICK_HOME := SUB_TRICK_HOME endif @@ -166,7 +168,6 @@ endif all: $(info Trick Build Process Complete) - test: TRICK_SYSTEM_CFLAGS += -DTRICK_UNIT_TEST test: TRICK_SYSTEM_CXXFLAGS += -DTRICK_UNIT_TEST test: all diff --git a/libexec/trick/make_makefile_src b/libexec/trick/make_makefile_src index 9af5a2d0..cc309019 100755 --- a/libexec/trick/make_makefile_src +++ b/libexec/trick/make_makefile_src @@ -319,7 +319,7 @@ foreach ( @all_read_only_libs ) { print MAKEFILE " -all: \$(S_MAIN) S_sie.resource +all: S_sie.resource \$(S_MAIN): S_source.hh \$(TRICK_STATIC_LIB) \$(S_OBJECTS) \$(MODEL_OBJECTS) \t\$(PRINT_EXE_LINK)