aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-06-28 09:22:29 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 11:59:10 +0200
commit68ea5a6fd731a8e7a8146fb02666b6f603f56342 (patch)
treed4690a089560a1bad400dd563e1f7a1a7e1afe68
parent2c900a381a4ee6392c50c41c2d83ee341ddc1430 (diff)
downloadotp-68ea5a6fd731a8e7a8146fb02666b6f603f56342.tar.gz
otp-68ea5a6fd731a8e7a8146fb02666b6f603f56342.tar.bz2
otp-68ea5a6fd731a8e7a8146fb02666b6f603f56342.zip
gs: Support parallel make
-rw-r--r--lib/gs/src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gs/src/Makefile b/lib/gs/src/Makefile
index a648d3cf13..b3f11fb71b 100644
--- a/lib/gs/src/Makefile
+++ b/lib/gs/src/Makefile
@@ -90,7 +90,7 @@ clean:
# Special Build Targets
# ----------------------------------------------------
-gstk_generic.hrl: gs_make.erl
+gstk_generic.hrl: gs_make.erl ../ebin/gs.$(EMULATOR)
$(ERL) -pa $(EBIN) -s gs_make -s erlang halt -noshell
$(APP_TARGET): $(APP_SRC) ../vsn.mk
@@ -99,6 +99,8 @@ $(APP_TARGET): $(APP_SRC) ../vsn.mk
$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
sed -e 's;%VSN%;$(VSN);' $< > $@
+$(GSTK_GENERIC_TARGET): gstk_generic.hrl
+
# ----------------------------------------------------
# Release Target
# ----------------------------------------------------