aboutsummaryrefslogtreecommitdiffstats
path: root/com32/MCONFIG
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-26 15:41:26 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-26 15:41:26 -0700
commitfbfc9121043951d019ea89971638a4f5ca63a812 (patch)
tree00b46faa8ad3604c7dbb2d9877294a60c4437e21 /com32/MCONFIG
parentde782b90dbdae54602bfbe47a7fc41a135cac33f (diff)
downloadsyslinux-fbfc9121043951d019ea89971638a4f5ca63a812.tar.gz
syslinux-fbfc9121043951d019ea89971638a4f5ca63a812.tar.xz
syslinux-fbfc9121043951d019ea89971638a4f5ca63a812.zip
com32/MCONFIG: generate dependency files by default
Generate the dependency files by default. They should perhaps even move into the actual rule lines. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/MCONFIG')
-rw-r--r--com32/MCONFIG6
1 files changed, 4 insertions, 2 deletions
diff --git a/com32/MCONFIG b/com32/MCONFIG
index 641111ab..599cfb67 100644
--- a/com32/MCONFIG
+++ b/com32/MCONFIG
@@ -35,8 +35,10 @@ endif
CFLAGS = $(GCCOPT) -W -Wall -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \
- -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
-SFLAGS = $(GCCOPT) -D__COM32__ -march=i386
+ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \
+ -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d
+SFLAGS = $(GCCOPT) -D__COM32__ -march=i386 \
+ -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d
LDFLAGS = -m elf_i386 -T $(com32)/lib/com32.ld
LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc)