aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbr/Makefile')
-rw-r--r--mbr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index 6cd677c0..e0695843 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -24,13 +24,13 @@ all: mbr.bin altmbr.bin gptmbr.bin isohdpfx.bin \
.PRECIOUS: %.o
%.o: %.S adjust.h
- $(CC) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
%_c.o: %.S adjust.h
- $(CC) $(SFLAGS) -Wa,-a=$*_c.lst -DCTRL_80 -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*_c.lst -DCTRL_80 -c -o $@ $<
%_f.o: %.S adjust.h
- $(CC) $(SFLAGS) -Wa,-a=$*_f.lst -DFORCE_80 -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*_f.lst -DFORCE_80 -c -o $@ $<
.PRECIOUS: %.elf
%.elf: %.o mbr.ld
@@ -44,7 +44,7 @@ all: mbr.bin altmbr.bin gptmbr.bin isohdpfx.bin \
mbr_bin.c: mbr.bin
tidy dist:
- rm -f *.o *.elf *.lst
+ rm -f *.o *.elf *.lst .*.d
clean: tidy