summaryrefslogtreecommitdiff
path: root/generate.make
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-11-15 12:29:33 -0800
committerBen Longbons <b.r.longbons@gmail.com>2015-01-22 23:18:58 -0800
commite1418f378c66343a35db3791cbf0d54a4be3fbd3 (patch)
tree56814c066624e19290bcc31d17a4fc0b3b711184 /generate.make
parentb2f0d495cd85188e0f9f2d4d363655da40e6e5e6 (diff)
downloadtmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.tar.gz
tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.tar.bz2
tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.tar.xz
tmwa-e1418f378c66343a35db3791cbf0d54a4be3fbd3.zip
Generate most config parsers
Diffstat (limited to 'generate.make')
-rw-r--r--generate.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/generate.make b/generate.make
index 8701a45..c32ca8d 100644
--- a/generate.make
+++ b/generate.make
@@ -16,6 +16,7 @@ vpath %.py ${SRC_DIR}
stamp/generated.stamp:
$(MKDIR_FIRST)
touch $@
+
stamp/generated.stamp: stamp/generate-proto2.stamp
stamp/generate-proto2.stamp: tools/protocol.py
$(MKDIR_FIRST)
@@ -23,6 +24,7 @@ stamp/generate-proto2.stamp: tools/protocol.py
mkdir -p ${SRC_DIR}/src/proto2
cd ${SRC_DIR} && protocol.py
touch $@
+
stamp/generated.stamp: stamp/generate-debug-debug.stamp
stamp/generate-debug-debug.stamp: tools/debug-debug-scripts ${PIES}
$(MKDIR_FIRST)
@@ -32,3 +34,9 @@ stamp/generate-debug-debug.stamp: tools/debug-debug-scripts ${PIES}
debug-debug-scripts ${SRC_DIR}/src/debug-debug/ $(wordlist 2,$(words $^),$^)
touch $@
+stamp/generated.stamp: stamp/generate-config.stamp
+stamp/generate-config.stamp: tools/config.py
+ $(MKDIR_FIRST)
+ rm -f stamp/generated.stamp
+ cd ${SRC_DIR} && config.py
+ touch $@