From bf1ac4a2c65702950663295e86690a3532270a98 Mon Sep 17 00:00:00 2001 From: Derek Bankieris Date: Fri, 31 May 2019 14:51:38 -0500 Subject: [PATCH] Remove redundant prerequisite for "all" target Closes #792 --- bin/trick-CP | 3 ++- libexec/trick/make_makefile_src | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/trick-CP b/bin/trick-CP index 915eb36e..db6dbc29 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)