aboutsummaryrefslogtreecommitdiffstats
path: root/mbr
diff options
context:
space:
mode:
Diffstat (limited to 'mbr')
-rw-r--r--mbr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index d96ee467..1772d14e 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -31,7 +31,7 @@ all: mbr.bin
.PRECIOUS: %.o
%.o: %.S
- $(CC) $(SFLAGS) -c -o $@ $<
+ $(CC) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
mbr.elf: mbr.o
$(LD) -Ttext 0x600 -e _start -o $@ $^
@@ -41,7 +41,7 @@ mbr.bin: mbr.elf checksize.pl
$(PERL) checksize.pl mbr.bin 440
tidy:
- rm -f *.o *.elf
+ rm -f *.o *.elf *.lst
-clean:
- rm -f *.o *.elf *.bin
+clean: tidy
+ rm -f *.bin