diff options
author | hpa <hpa> | 2004-02-03 06:11:54 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-02-03 06:11:54 +0000 |
commit | 61d637fbe93c248e3eecf3332a45abc5e21d091b (patch) | |
tree | e0100d831a32228c5dc4838848196190e663e86a /menu/Makefile | |
parent | ad91206f3879f8584974032d1c51319a9ed946bf (diff) | |
download | syslinux-61d637fbe93c248e3eecf3332a45abc5e21d091b.tar.gz |
Dependency generation
Diffstat (limited to 'menu/Makefile')
-rw-r--r-- | menu/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/menu/Makefile b/menu/Makefile index 7b1654d3..9514dda5 100644 --- a/menu/Makefile +++ b/menu/Makefile @@ -19,7 +19,7 @@ MENUS = simple.com complex.com .SUFFIXES: .c .s .s16 .o16 .elf .com .c.s: - $(CC) $(CFLAGS) -S -o $@ $< + $(CC) $(CFLAGS) -MMD -S -o $@ $< .s.s16: echo '.code16gcc' | cat - $< > $@ @@ -44,7 +44,9 @@ libmenu.a: $(LIBMENU) $(RANLIB) $@ clean: - -rm -f *.s *.s16 *.o16 *.elf *.com *.a + -rm -f *.s *.s16 *.o16 *.elf *.com *.a *.d spotless: clean -rm -f *~ \#* + +-include *.d
\ No newline at end of file |