From e6d94cc986897ac80a13a5eedd8ab38d581b0453 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 27 Apr 2009 21:42:45 -0700 Subject: Unify dependency generation: MCONFIG.embedded Unify dependency generation and move common rules into MCONFIG.embedded. Signed-off-by: H. Peter Anvin --- memdump/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'memdump') 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 -- cgit v1.2.1