X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=Makefile.dj;h=b95f943097937db18a1409b993aae45f35a329e8;hp=a68701211308653e2e578bae34794c3b14b24262;hb=3398fc6c4188104048f99b650a6cb90beda9b6ed;hpb=e9bc07c12b572a43b66736783c9fa19d24cf645d diff --git a/Makefile.dj b/Makefile.dj index a687012..b95f943 100644 --- a/Makefile.dj +++ b/Makefile.dj @@ -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