summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 7f83e67..d3396dc 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -149,8 +149,13 @@ ifeq ($(filter 0 1,$(words $(arch_flags))),)
$(foreach x,$(patsubst -arch=%,%,$(arch_flags)), \
$(eval $$(MJIT_HEADER:.h=)-$(value x).h \
$$(MJIT_MIN_HEADER:.h=)-$(value x).h \
+ $$(TIMESTAMPDIR)/$$(MJIT_HEADER:.h=)-$(value x).time \
: ARCH_FLAG := -arch $(value x)))
+$(foreach x,$(patsubst -arch=%,%,$(arch_flags)), \
+ $(eval $$(MJIT_HEADER:.h=)-$(value x).h: \
+ $$(TIMESTAMPDIR)/$$(MJIT_HEADER:.h=)-$(value x).time))
+
mjit_min_headers := $(patsubst -arch=%,$(MJIT_MIN_HEADER:.h=-%.h),$(arch_flags))
$(MJIT_MIN_HEADER): $(mjit_min_headers) $(PREP)
@ set -e; set $(patsubst -arch=%,%,$(arch_flags)); \