summaryrefslogtreecommitdiff
path: root/common/lib/mmtcgen/Makefile
diff options
context:
space:
mode:
authorNélio Laranjeiro2012-05-15 14:15:47 +0200
committerNélio Laranjeiro2012-09-07 08:56:59 +0200
commite36caa5e70271d6af852079e35a6555fae6c7308 (patch)
treece4e4de3769119f94ee502e71030f33166fbdfc8 /common/lib/mmtcgen/Makefile
parentf20c2827cd1a07058103e81e5e295123c4b6a59f (diff)
cleopatre: allow the bundle to compile without mmtcgen, refs #409
Diffstat (limited to 'common/lib/mmtcgen/Makefile')
-rw-r--r--common/lib/mmtcgen/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/common/lib/mmtcgen/Makefile b/common/lib/mmtcgen/Makefile
index 9ff6ca3d92..f076a0b563 100644
--- a/common/lib/mmtcgen/Makefile
+++ b/common/lib/mmtcgen/Makefile
@@ -1,14 +1,14 @@
YAPPS=yapps
PARSER=parser.g
-all: py
+$(MMTCGEN)/$(PARSER):
+ :
-clean:
- rm -f $(PARSER:%.g=%.py)
-
-py: $(PARSER:%.g=%.py)
-
-%.py: %.g
+$(MMTCGEN)/parser.py: $(MMTCGEN)/$(PARSER)
$(YAPPS) $<
+$(MMTYPES): $(MMTCGEN)/parser.py
+ python $(MMTCGEN)/mmtcgen.py $@
+bundle: $(MMTYPES)
+ :