aboutsummaryrefslogtreecommitdiffstats
path: root/dos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 5029f4a9..61423cec 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -51,7 +51,9 @@ syslinux.com: syslinux.elf
$(CC) $(CFLAGS) -E -o $@ $<
%.s: %.c
$(CC) $(CFLAGS) -S -o $@ $<
+%.o: %.S
+ $(CC) -Wp,-MT,$@,-MD,.$@.d $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
%.s: %.S
- $(CC) $(CFLAGS) -D__ASSEMBLY__ -S -o $@ $<
+ $(CC) $(CFLAGS) -E -o $@ $<
-include .*.d