Commit 7f7ff65 1 parent bf6bfbd commit 7f7ff65 Copy full SHA for 7f7ff65
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -301,10 +301,10 @@ ifneq ($(KEEP_TEMPS),1)
301
301
@echo "$(CC1) <flags> -o $@ $<"
302
302
@$(CPP) $(CPPFLAGS) $< | $(PREPROC) -i $< charmap.txt | $(CC1) $(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $(AS) $(ASFLAGS) -o $@ -
303
303
else
304
- @$(CPP) $(CPPFLAGS) $< -o $*.i
305
- @$(PREPROC) $*.i charmap.txt | $(CC1) $(CFLAGS) -o $*.s
306
- @echo -e ".text\n\t.align\t2, 0\n" >> $*.s
307
- $(AS) $(ASFLAGS) -o $@ $*.s
304
+ @$(CPP) $(CPPFLAGS) $< -o $(C_BUILDDIR)/$ *.i
305
+ @$(PREPROC) $(C_BUILDDIR)/$ *.i charmap.txt | $(CC1) $(CFLAGS) -o $(C_BUILDDIR)/ $*.s
306
+ @echo -e ".text\n\t.align\t2, 0\n" >> $(C_BUILDDIR)/$ *.s
307
+ $(AS) $(ASFLAGS) -o $@ $(C_BUILDDIR)/$ *.s
308
308
endif
309
309
310
310
$(C_BUILDDIR ) /% .d : $(C_SUBDIR ) /% .c
You can’t perform that action at this time.
0 commit comments