diff options
author | Kostis Sagonas <[email protected]> | 2014-03-23 12:33:21 +0100 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2014-03-23 12:33:21 +0100 |
commit | 4baccb93c82df99aa2c92a7d1e41e853ca2061c2 (patch) | |
tree | 8c5ae8d5a153884eb982426779737db31c448008 /lib | |
parent | c2b4eab25c907f453a394d382c04cd04e6c06b49 (diff) | |
download | otp-4baccb93c82df99aa2c92a7d1e41e853ca2061c2.tar.gz otp-4baccb93c82df99aa2c92a7d1e41e853ca2061c2.tar.bz2 otp-4baccb93c82df99aa2c92a7d1e41e853ca2061c2.zip |
Ensure generated modules are properly included in the Emakefile
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hipe/test/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hipe/test/Makefile b/lib/hipe/test/Makefile index cedb150b5d..acb2849d0d 100644 --- a/lib/hipe/test/Makefile +++ b/lib/hipe/test/Makefile @@ -8,6 +8,10 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk MODULES= \ hipe_SUITE +# .erl files for these modules are automatically generated +GEN_MODULES= \ + bs_SUITE + ERL_FILES= $(MODULES:%=%.erl) TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) @@ -40,6 +44,8 @@ EBIN = . make_emakefile: $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) $(MODULES) \ > $(EMAKEFILE) + $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) $(GEN_MODULES) \ + >> $(EMAKEFILE) $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) '*_SUITE_make' \ >> $(EMAKEFILE) |