summaryrefslogtreecommitdiff
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-27 21:42:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-27 21:42:45 -0700
commite6d94cc986897ac80a13a5eedd8ab38d581b0453 (patch)
treee6a9bab1f51a0eb4274e9dc77465f9cf3941e160 /mbr
parent593236b4086e21f9552bb0281f6093b7cce875e9 (diff)
downloadsyslinux-e6d94cc986897ac80a13a5eedd8ab38d581b0453.tar.gz
Unify dependency generation: MCONFIG.embedded
Unify dependency generation and move common rules into MCONFIG.embedded. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mbr')
-rw-r--r--mbr/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index e0695843..3140132a 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -23,13 +23,13 @@ all: mbr.bin altmbr.bin gptmbr.bin isohdpfx.bin \
mbr_f.bin altmbr_f.bin gptmbr_f.bin isohdpfx_f.bin
.PRECIOUS: %.o
-%.o: %.S adjust.h
+%.o: %.S
$(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
-%_c.o: %.S adjust.h
+%_c.o: %.S
$(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*_c.lst -DCTRL_80 -c -o $@ $<
-%_f.o: %.S adjust.h
+%_f.o: %.S
$(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*_f.lst -DFORCE_80 -c -o $@ $<
.PRECIOUS: %.elf