projects
/
dosdemo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c1029b1
)
disabled dep-files when building on dos, because it goes into an infinite loop
author
John Tsiombikas
<nuclear@member.fsf.org>
Sat, 14 Dec 2019 08:54:44 +0000
(10:54 +0200)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sat, 14 Dec 2019 08:54:44 +0000
(10:54 +0200)
Makefile.dj
patch
|
blob
|
history
diff --git
a/Makefile.dj
b/Makefile.dj
index
fe89fcf
..
b95f943
100644
(file)
--- a/
Makefile.dj
+++ b/
Makefile.dj
@@
-12,7
+12,7
@@
else
endif
inc = -Isrc -Isrc/dos -Ilibs -Ilibs/imago/src -Ilibs/anim/src -Ilibs/mikmod/include
endif
inc = -Isrc -Isrc/dos -Ilibs -Ilibs/imago/src -Ilibs/anim/src -Ilibs/mikmod/include
-#opt = -O3 -ffast-math -fno-strict-aliasing
+opt = -O3 -ffast-math -fno-strict-aliasing
dbg = -g
warn = -pedantic -Wall -Wno-unused-function -Wno-unused-variable
dbg = -g
warn = -pedantic -Wall -Wno-unused-function -Wno-unused-variable
@@
-27,12
+27,15
@@
$(bin): $(obj) imago anim mikmod
%.cof: %.asm
nasm -f coff -o $@ $<
%.cof: %.asm
nasm -f coff -o $@ $<
+ifneq ($(hostsys), dos)
-include $(dep)
-include $(dep)
+endif
%.cof: %.c
$(CC) $(CFLAGS) -o $@ -c $<
%.dep: %.c
%.cof: %.c
$(CC) $(CFLAGS) -o $@ -c $<
%.dep: %.c
+ @echo dep $@
@$(CPP) $(CFLAGS) $< -MM -MT $(@:.dep=.cof) >$@
.PHONY: imago
@$(CPP) $(CFLAGS) $< -MM -MT $(@:.dep=.cof) >$@
.PHONY: imago