aboutsummaryrefslogtreecommitdiffstats
path: root/dos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/dos/Makefile b/dos/Makefile
index afcb1465..f580e01e 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -59,17 +59,8 @@ libcom.a: $(LIBOBJS)
syslinux.com: syslinux.elf
$(OBJCOPY) -O binary $< $@
-%.o: %.c
- $(CC) $(MAKEDEPS) $(CFLAGS) -c -o $@ $<
-%.i: %.c
- $(CC) $(MAKEDEPS) $(CFLAGS) -E -o $@ $<
-%.s: %.c
- $(CC) $(MAKEDEPS) $(CFLAGS) -S -o $@ $<
-%.o: %.S
- $(CC) $(MAKEDEPS) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
-%.s: %.S
- $(CC) $(MAKEDEPS) $(CFLAGS) -D__ASSEMBLY__ -E -o $@ $<
%.com: %.asm
+ ( $(NASM) -DDEPEND $(NASMOPT) -o $@ -M $< && echo '' ) > .$@.d; true
$(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $<
-include .*.d *.tmp