From 575ed809babbcbcbdb6324d82bf23a8ac973dff8 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 10 May 2006 12:15:24 +0000 Subject: [PATCH] .raw_s and .s live in $(odir), not the source dir --- mk/suffix.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/suffix.mk b/mk/suffix.mk index 10926ee..55637e3 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -134,10 +134,10 @@ else $(odir_)%.raw_s : %.hc $(CC) -x c $< -o $@ -S -O $(HC_BOOT_CC_OPTS) -I. `echo $(patsubst -monly-%-regs, -DSTOLEN_X86_REGS=%, $(filter -monly-%-regs, $($*_HC_OPTS))) | sed 's/^$$/-DSTOLEN_X86_REGS=4/'` -$(odir_)%.s : %.raw_s +$(odir_)%.s : $(odir_)%.raw_s $(MANGLER) $< $@ $(patsubst -monly-%-regs, %, $(filter -monly-%-regs, $($*_HC_OPTS))) -$(odir_)%.o : %.s +$(odir_)%.o : $(odir_)%.s $(CC) -c -o $@ $< endif # not BootingFromUnregisterisedHc -- 1.7.10.4