aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/MCONFIG
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-27 21:17:18 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-27 21:17:18 -0700
commit593236b4086e21f9552bb0281f6093b7cce875e9 (patch)
tree0c83b2ee2380f638ee03472c2e88ebeae8ac0b42 /com32/lib/MCONFIG
parentfe9385228a7845e98485c925031ee5a46f5dfd3b (diff)
downloadsyslinux.git-593236b4086e21f9552bb0281f6093b7cce875e9.tar.gz
syslinux.git-593236b4086e21f9552bb0281f6093b7cce875e9.tar.xz
syslinux.git-593236b4086e21f9552bb0281f6093b7cce875e9.zip
Unify dependency generation: com32/lib, com32/cmenu
Add the unified dependency generation to com32/lib and com32/cmenu. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib/MCONFIG')
-rw-r--r--com32/lib/MCONFIG25
1 files changed, 12 insertions, 13 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index aea0ed74..1eb18db1 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -26,8 +26,7 @@ OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 \
-falign-labels=0 -ffast-math -fomit-frame-pointer
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
-CFLAGS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) \
- $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
+CFLAGS = $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS)
LDFLAGS = -m elf32_i386
.SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss
@@ -37,34 +36,34 @@ LDFLAGS = -m elf32_i386
% : %.S
.c.o:
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -c -o $@ $<
.c.i:
- $(CC) $(CFLAGS) -E -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -E -o $@ $<
.c.s:
- $(CC) $(CFLAGS) -S -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -S -o $@ $<
.S.o:
- $(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
.S.s:
- $(CC) $(CFLAGS) -D__ASSEMBLY__ -E -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -D__ASSEMBLY__ -E -o $@ $<
.S.lo:
- $(CC) $(CFLAGS) $(SOFLAGS) -D__ASSEMBLY__ -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) $(SOFLAGS) -D__ASSEMBLY__ -c -o $@ $<
.S.ls:
- $(CC) $(CFLAGS) $(SOFLAGS) -D__ASSEMBLY__ -E -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) $(SOFLAGS) -D__ASSEMBLY__ -E -o $@ $<
.s.o:
- $(CC) $(CFLAGS) -x assembler -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) -x assembler -c -o $@ $<
.ls.lo:
- $(CC) $(CFLAGS) $(SOFLAGS) -x assembler -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) $(SOFLAGS) -x assembler -c -o $@ $<
.c.lo:
- $(CC) $(CFLAGS) $(SOFLAGS) -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) $(SOFLAGS) -c -o $@ $<
.c.ls:
- $(CC) $(CFLAGS) $(SOFLAGS) -S -o $@ $<
+ $(CC) $(MAKEDEPS) $(CFLAGS) $(SOFLAGS) -S -o $@ $<