diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-19 16:47:09 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-19 16:51:25 -0800 |
commit | cc30f7dc63648aa02625df65f7148569b578baaa (patch) | |
tree | 4f01e027670cb8b338454135084f3cd9d965b33f /com32 | |
parent | 2ba25f7096c4d0982edd11c8449ccee86b2accf5 (diff) | |
download | syslinux-cc30f7dc63648aa02625df65f7148569b578baaa.tar.gz |
Add dependency generation for com32 samples.
Diffstat (limited to 'com32')
-rw-r--r-- | com32/samples/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/com32/samples/Makefile b/com32/samples/Makefile index a203bbfd..315a9905 100644 --- a/com32/samples/Makefile +++ b/com32/samples/Makefile @@ -27,7 +27,10 @@ AR = ar NASM = nasm NASMOPT = -O9999 RANLIB = ranlib -CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__ +CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os \ + -fomit-frame-pointer -I../libutil/include -I../include \ + -D__COM32__ \ + -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d LNXCFLAGS = -W -Wall -O -g -I../libutil/include LNXSFLAGS = -g LNXLDFLAGS = -g @@ -78,9 +81,11 @@ tidy: rm -f *.o *.lo *.a *.lst *.elf clean: tidy - rm -f *.lss *.c32 *.lnx *.com + rm -f *.lss *.c32 *.lnx *.com .*.d spotless: clean rm -f *~ \#* install: # Don't install samples + +-include .*.d |