aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/test/Makefile
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-03-31 16:02:30 +0200
committerSverker Eriksson <[email protected]>2014-03-31 16:02:30 +0200
commit219785005b451dec785179a9e6d5ee2e7551f2b1 (patch)
treecf5c2254070b4d0ca039eccdf2ad3f5921c98b4c /lib/hipe/test/Makefile
parentc319be4bc33ceb205c48ed708bf53874207621bb (diff)
parent257c21b8d7fbcc06b72da04e69fddbed3d0f939e (diff)
downloadotp-219785005b451dec785179a9e6d5ee2e7551f2b1.tar.gz
otp-219785005b451dec785179a9e6d5ee2e7551f2b1.tar.bz2
otp-219785005b451dec785179a9e6d5ee2e7551f2b1.zip
Merge branch 'kostis/hipe-test-fix'
* kostis/hipe-test-fix: Add support for testing the LLVM backend too Ensure generated modules are properly included in the Emakefile
Diffstat (limited to 'lib/hipe/test/Makefile')
-rw-r--r--lib/hipe/test/Makefile6
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)