It seems that it was a mistake to OR the LFB flag to the video mode
[dosdemo] / Makefile.dj
diff --git a/Makefile.dj b/Makefile.dj
deleted file mode 100644 (file)
index f2414dc..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-src = $(wildcard src/*.c) $(wildcard src/scr/*.c) $(wildcard src/dos/*.c)
-asmsrc = $(wildcard src/*.asm) $(wildcard src/scr/*.asm) $(wildcard src/dos/*.asm)
-obj = $(src:.c=.cof) $(asmsrc:.asm=.cof)
-dep = $(obj:.cof=.dep)
-bin = demo.exe
-
-asmsrc += cspr/dbgfont.asm cspr/confont.asm
-
-ifeq ($(findstring COMMAND.COM, $(SHELL)), COMMAND.COM)
-       hostsys = dos
-else
-       hostsys = unix
-       TOOLPREFIX = i586-pc-msdosdjgpp-
-endif
-
-inc = -Isrc -Isrc/scr -Isrc/dos -Ilibs -Ilibs/imago/src -Ilibs/anim/src
-opt = -O3 -ffast-math -fno-strict-aliasing
-dbg = -g
-#prof = -pg
-warn = -pedantic -Wall -Wno-unused-function -Wno-unused-variable
-def = -DNO_MUSIC
-
-CC = $(TOOLPREFIX)gcc
-AR = $(TOOLPREFIX)ar
-CFLAGS = $(warn) -march=pentium $(dbg) $(opt) $(prof) $(inc) $(def)
-LDFLAGS = libs/imago/imago.dja libs/anim/anim.dja
-
-ifneq ($(hostsys), dos)
-.PHONY: all
-all: data $(bin)
-endif
-
-$(bin): $(obj) imago anim
-       $(CC) -o $@ -Wl,-Map=ld.map $(prof) $(obj) $(LDFLAGS)
-
-%.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
-imago:
-       $(MAKE) -C libs/imago -f Makefile.dj
-
-.PHONY: anim
-anim:
-       $(MAKE) -C libs/anim -f Makefile.dj
-
-.PHONY: cleanlibs
-cleanlibs:
-       $(MAKE) -C libs/imago -f Makefile.dj clean
-       $(MAKE) -C libs/anim -f Makefile.dj clean
-
-.PHONY: clean
-.PHONY: cleandep
-
-ifeq ($(hostsys), dos)
-clean:
-       del src\*.cof
-       del src\dos\*.cof
-       del $(bin)
-
-cleandep:
-       del src\*.dep
-       del src\dos\*.dep
-else
-clean:
-       rm -f $(obj) $(bin)
-
-cleandep:
-       rm -f $(dep)
-
-.PHONY: data
-data:
-       @tools/procdata
-endif