aboutsummaryrefslogtreecommitdiffstats
path: root/memdump
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 /memdump
parent593236b4086e21f9552bb0281f6093b7cce875e9 (diff)
downloadsyslinux.git-e6d94cc986897ac80a13a5eedd8ab38d581b0453.tar.gz
syslinux.git-e6d94cc986897ac80a13a5eedd8ab38d581b0453.tar.xz
syslinux.git-e6d94cc986897ac80a13a5eedd8ab38d581b0453.zip
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 'memdump')
-rw-r--r--memdump/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/memdump/Makefile b/memdump/Makefile
index 6696020c..05f26383 100644
--- a/memdump/Makefile
+++ b/memdump/Makefile
@@ -54,14 +54,14 @@ memdump.com: memdump.elf
$(OBJCOPY) -O binary $< $@
%.o: %.c
- $(CC) -Wp,-MT,$@,-MD,.$@.d $(CFLAGS) -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -c -o $@ $<
%.i: %.c
- $(CC) $(CFLAGS) -E -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -E -o $@ $<
%.s: %.c
- $(CC) $(CFLAGS) -S -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -S -o $@ $<
%.o: %.S
- $(CC) -Wp,-MT,$@,-MD,.$@.d $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(SFLAGS) -c -o $@ $<
%.s: %.S
- $(CC) $(CFLAGS) -E -o $@ $<
+ $(CC) $(MAKEDEPS) $(SFLAGS) -E -o $@ $<
-include .*.d *.tmp