summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-01-18 10:39:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-01-18 10:39:43 (GMT)
commit3df9f6dc8548b0562312036abfbfcf9850a81041 (patch)
tree9029adc5d11a8b4ad3e342fbafb3c2e8282484f8 /src/arch/arm
parent39ef3e002877a13be4274b3ef8d04aac0ae7a7f3 (diff)
Rebuilt the final Makefile only if its sources have changed.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@458 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/v7/opdefs/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/arm/v7/opdefs/Makefile.am b/src/arch/arm/v7/opdefs/Makefile.am
index 44dda82..0966e2e 100644
--- a/src/arch/arm/v7/opdefs/Makefile.am
+++ b/src/arch/arm/v7/opdefs/Makefile.am
@@ -91,10 +91,11 @@ ARMV7_DEFS = \
subs_B9320.d
-all: $(ARMV7_DEFS:.d=.g) generate_final_makefile fix_includes_in_c_templates fix_includes_in_h_templates untabify_disass
+all: $(ARMV7_DEFS:.d=.g) fmk.done fix_includes_in_c_templates fix_includes_in_h_templates untabify_disass
-generate_final_makefile:
+fmk.done: $(ARMV7_DEFS)
$(GEN_BIN) ../opcodes/ ../opdefs/.gen ../../../../../tools/d2c/globalgen.mk arm thumb_32 thumb_16
+ touch $@
fix_includes_in_c_templates:
@for f in `find .gen/ -name '*tmpl.c'`; do \
@@ -111,4 +112,4 @@ fix_includes_in_h_templates:
done
clean:
- rm -rf $(ARMV7_DEFS:.d=.g) .gen
+ rm -rf $(ARMV7_DEFS:.d=.g) .gen fmk.done