diff options
author | comex | 2015-02-15 00:24:51 -0500 |
---|---|---|
committer | comex | 2015-02-15 00:24:51 -0500 |
commit | 769b00952c8b2fd1f7ddaf1313ee7c38b8081cc6 (patch) | |
tree | c20867f57cb05e745595fbca310a1fe2a73dffb4 /Makefile | |
parent | fix test cases (diff) | |
download | substitute-769b00952c8b2fd1f7ddaf1313ee7c38b8081cc6.tar.gz |
more fixes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -157,8 +157,11 @@ out/insns-libz-arm.o: test/insns-libz-arm.S Makefile out/insns-libz-thumb2.o: test/insns-libz-arm.S Makefile clang -arch armv7 -c -o $@ $< -DTHUMB2 -out/transform-dis-cases-i386.o: test/transform-dis-cases-i386.S Makefile - clang -arch i386 -c -o $@ $< +define transform-dis-cases +out/transform-dis-cases-$(arch).o: test/transform-dis-cases-$(arch).S Makefile + clang -arch $(arch) -c -o $$@ $$< +endef +$(foreach arch,i386 x86_64 armv7 arm64,$(eval $(transform-dis-cases))) # iOS bootstrap... ifneq (,$(IS_IOS)) |