aboutsummaryrefslogtreecommitdiffstats
path: root/menu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'menu/Makefile')
-rw-r--r--menu/Makefile6
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