aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cosEvent/test/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-07-02 09:15:54 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 13:13:54 +0200
commit2c73d21a89d2d69e3cda4a9d10a544fb3cafd847 (patch)
treeefec73d97090910c1e48f70d9cad618f64b85626 /lib/cosEvent/test/Makefile
parentfe9c1a041aa3a8d6ab45623050db15de8d311085 (diff)
downloadotp-2c73d21a89d2d69e3cda4a9d10a544fb3cafd847.tar.gz
otp-2c73d21a89d2d69e3cda4a9d10a544fb3cafd847.tar.bz2
otp-2c73d21a89d2d69e3cda4a9d10a544fb3cafd847.zip
cos*/src/Makefile: Support parallel make
Diffstat (limited to 'lib/cosEvent/test/Makefile')
-rw-r--r--lib/cosEvent/test/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/cosEvent/test/Makefile b/lib/cosEvent/test/Makefile
index c59c7ee315..c3f07c156f 100644
--- a/lib/cosEvent/test/Makefile
+++ b/lib/cosEvent/test/Makefile
@@ -121,17 +121,13 @@ docs:
# Special Targets
# ----------------------------------------------------
-#
-# Each IDL file produces many target files so no pattern
-# rule can be used.
-#
-TGT_COS = \
- $(GEN_HRL_COS:%=$(IDLOUTDIR)/%) \
- $(GEN_MOD_COS:%=$(IDLOUTDIR)/%.erl)
+IDL-GENERATED: event_test_server.idl
+ erlc $(ERL_IDL_FLAGS) -o$(IDLOUTDIR) event_test_server.idl
+ >IDL-GENERATED
+$(GEN_FILES): IDL-GENERATED
-$(TGT_COS): event_test_server.idl
- erlc $(ERL_IDL_FLAGS) -o$(IDLOUTDIR) event_test_server.idl
+$(TARGET_FILES): IDL-GENERATED
# ----------------------------------------------------
# Release Targets