disabled dep-files when building on dos, because it goes into an infinite loop
[dosdemo] / Makefile.dj
index a687012..b95f943 100644 (file)
@@ -27,12 +27,15 @@ $(bin): $(obj) imago anim mikmod
 %.cof: %.asm
        nasm -f coff -o $@ $<
 
+ifneq ($(hostsys), dos)
 -include $(dep)
+endif
 
 %.cof: %.c
        $(CC) $(CFLAGS) -o $@ -c $<
 
 %.dep: %.c
+       @echo dep $@
        @$(CPP) $(CFLAGS) $< -MM -MT $(@:.dep=.cof) >$@
 
 .PHONY: imago