From 562a5008d417d162e2f133b2eea7e5bb37a3070c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 22 Jun 2015 16:05:30 -0500 Subject: [PATCH] cleanings~ modified: .gitignore new file: awoo.sh modified: boop.sh renamed: FTEST.EXE -> fonttest.exe new file: lowcase.sh modified: makefile modified: makefile.gnu deleted: ptmp.pcx renamed: src/FTEST.C -> src/fonttest.c renamed: src/lib/TEXT.C -> src/lib/16text.c renamed: src/lib/TEXT.H -> src/lib/16text.h modified: wmakegnu.sh --- .gitignore | 2 + awoo.sh | 3 + boop.sh | 3 +- FTEST.EXE => fonttest.exe | Bin lowcase.sh | 4 + makefile | 147 ++++++++++++++++++----------------- makefile.gnu | 120 ++++++++++++++++++---------- ptmp.pcx | Bin 5047 -> 0 bytes src/{FTEST.C => fonttest.c} | 2 +- src/lib/{TEXT.C => 16text.c} | 2 +- src/lib/{TEXT.H => 16text.h} | 0 wmakegnu.sh | 2 +- 12 files changed, 165 insertions(+), 120 deletions(-) create mode 100644 awoo.sh rename FTEST.EXE => fonttest.exe (100%) create mode 100644 lowcase.sh delete mode 100644 ptmp.pcx rename src/{FTEST.C => fonttest.c} (93%) rename src/lib/{TEXT.C => 16text.c} (94%) rename src/lib/{TEXT.H => 16text.h} (100%) diff --git a/.gitignore b/.gitignore index 7b0c773e..cff92b3c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ FUCK *.ERR makefile~ !boop.sh +!awoo.sh +!lowcase.sh !wmakegnu.sh img !.git/config diff --git a/awoo.sh b/awoo.sh new file mode 100644 index 00000000..9e26c560 --- /dev/null +++ b/awoo.sh @@ -0,0 +1,3 @@ +#!/bin/bash +git add . +bash ./boop.sh diff --git a/boop.sh b/boop.sh index 93bba4ac..f593c84e 100644 --- a/boop.sh +++ b/boop.sh @@ -1,5 +1,6 @@ +#!/bin/bash git commit -a -#git push x4 master +####git push x4 master git push origin master git push jp master git push hub master diff --git a/FTEST.EXE b/fonttest.exe similarity index 100% rename from FTEST.EXE rename to fonttest.exe diff --git a/lowcase.sh b/lowcase.sh new file mode 100644 index 00000000..a9baf48f --- /dev/null +++ b/lowcase.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +mv "$1" "$1"0 +mv "$1"0 "$2" diff --git a/makefile b/makefile index bd4c4eed..588ffa57 100644 --- a/makefile +++ b/makefile @@ -5,145 +5,146 @@ MFLAGS=-mh# -zm CFLAGS=-zkl -wo -x#### -mc# -zdp# -zp16 -zq OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+ -FLAGS=-0 -d2 $(OFLAGS) $(CFLAGS) +FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) REMOVECOMMAND=del DIRSEP=\ +OBJ=obj SRC=src$(DIRSEP) SRCLIB=$(SRC)lib$(DIRSEP) -JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) -EXMMLIB=$(SRCLIB)exmm$(DIRSEP) -WCPULIB=$(SRCLIB)wcpu$(DIRSEP) - -16LIBOBJS = modex16.obj dos_kb.obj bitmap.obj planar.obj wcpu.obj lib_head.obj scroll16.obj - -all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe ftest.exe - -# -#executables -# -16.exe: 16.obj mapread.obj jsmn.obj 16.lib - wcl $(FLAGS) 16.obj mapread.obj jsmn.obj 16.lib - -scroll.exe: scroll.obj 16.lib mapread.obj jsmn.obj - wcl $(FLAGS) scroll.obj 16.lib mapread.obj jsmn.obj -scroll.obj: $(SRC)scroll.c +JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) +EXMMLIB=$(SRCLIB)exmm$(DIRSEP) +WCPULIB=$(SRCLIB)wcpu$(DIRSEP) + +16LIBOBJS = modex16.$(OBJ) dos_kb.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) wcpu.$(OBJ) lib_head.$(OBJ) scroll16.$(OBJ) + +all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe fonttest.exe + +# +#executables +# +16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib + wcl $(FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib + +scroll.exe: scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ) + wcl $(FLAGS) scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ) +scroll.$(OBJ): $(SRC)scroll.c wcl $(FLAGS) -c $(SRC)scroll.c -test.exe: test.obj modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) test.obj modex16.obj bitmap.obj lib_head.obj +test.exe: test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) -test2.exe: test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj - wcl $(FLAGS) test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj +test2.exe: test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) -ftest.exe: text.obj ftest.obj - wcl $(FLAGS) ftest.obj text.obj +fonttest.exe: text.$(OBJ) fonttest.$(OBJ) + wcl $(FLAGS) fonttest.$(OBJ) 16text.$(OBJ) -text.obj: $(SRCLIB)text.c - wcl -c $(SRCLIB)text.c +16text.$(OBJ): $(SRCLIB)16text.c + wcl -c $(SRCLIB)16text.c -ftest.obj: $(SRC)ftest.c - wcl -c $(SRC)ftest.c +fonttest.$(OBJ): $(SRC)fonttest.c + wcl -c $(SRC)fonttest.c -pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj - wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj +pcxtest.exe: pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) -palettec.exe: palettec.obj modex16.obj - wcl $(FLAGS) palettec.obj modex16.obj +palettec.exe: palettec.$(OBJ) modex16.$(OBJ) + wcl $(FLAGS) palettec.$(OBJ) modex16.$(OBJ) -maptest.exe: maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj +maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) -maptest0.exe: maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) $(MFLAGS) maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj +maptest0.exe: maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) $(MFLAGS) maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) -emmtest.exe: emmtest.obj memory.obj - wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj +emmtest.exe: emmtest.$(OBJ) memory.$(OBJ) + wcl $(FLAGS) $(MFLAGS) emmtest.$(OBJ) memory.$(OBJ) -emsdump.exe: emsdump.obj memory.obj - wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj +emsdump.exe: emsdump.$(OBJ) memory.$(OBJ) + wcl $(FLAGS) $(MFLAGS) emsdump.$(OBJ) memory.$(OBJ) -fmemtest.exe: fmemtest.obj# memory.obj - wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj +fmemtest.exe: fmemtest.$(OBJ)# memory.$(OBJ) + wcl $(FLAGS) $(MFLAGS) fmemtest.$(OBJ)# memory.$(OBJ) # #executable's objects # -16.obj: $(SRC)16.h $(SRC)16.c +16.$(OBJ): $(SRC)16.h $(SRC)16.c wcl $(FLAGS) -c $(SRC)16.c -test.obj: $(SRC)test.c $(SRCLIB)modex16.h +test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)test.c -test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h +test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)test2.c -pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h +pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)pcxtest.c -palettec.obj: $(SRC)palettec.c +palettec.$(OBJ): $(SRC)palettec.c wcl $(FLAGS) -c $(SRC)palettec.c -maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h +maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)maptest.c -maptest0.obj: $(SRC)maptest0.c# $(SRCLIB)modex16.h +maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c -emmtest.obj: $(SRC)emmtest.c +emmtest.$(OBJ): $(SRC)emmtest.c wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c -emsdump.obj: $(SRC)emsdump.c +emsdump.$(OBJ): $(SRC)emsdump.c wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c -fmemtest.obj: $(SRC)fmemtest.c - wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c - -# -#non executable objects libraries -# +fmemtest.$(OBJ): $(SRC)fmemtest.c + wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c + +# +#non executable objects libraries +# 16.lib: $(16LIBOBJS) - wlib -b 16.lib $(16LIBOBJS) + wlib -b 16.lib $(16LIBOBJS) -modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c +modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c wcl $(FLAGS) -c $(SRCLIB)modex16.c -dos_kb.obj: $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c +dos_kb.$(OBJ): $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c wcl $(FLAGS) -c $(SRCLIB)dos_kb.c -bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c +bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c wcl $(FLAGS) -c $(SRCLIB)bitmap.c -planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c +planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c wcl $(FLAGS) -c $(SRCLIB)planar.c -scroll16.obj: $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c +scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c wcl $(FLAGS) -c $(SRCLIB)scroll16.c -wcpu.obj: $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c +wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c wcl $(FLAGS) -c $(WCPULIB)wcpu.c -mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib - wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib - -fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib +mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib + wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib + +fmapread.$(OBJ): $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib -lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c +lib_head.$(OBJ): $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c wcl $(FLAGS) -c $(SRCLIB)lib_head.c -jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c +jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c wcl $(FLAGS) -c $(JSMNLIB)jsmn.c -farjsmn.obj: $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c +farjsmn.$(OBJ): $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c -memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c +memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c # #other~ # clean: .symbolic -# @$(REMOVECOMMAND) *.obj +# @$(REMOVECOMMAND) *.$(OBJ) @$(REMOVECOMMAND) *.OBJ # @$(REMOVECOMMAND) *.out # @$(REMOVECOMMAND) *.OUT diff --git a/makefile.gnu b/makefile.gnu index c3446540..7c41e3b4 100644 --- a/makefile.gnu +++ b/makefile.gnu @@ -3,114 +3,148 @@ #-zkl = current codepage MFLAGS=-mh# -zm -CFLAGS=-zkl -wo -x #### -mc# -zdp# -zp16 -zq +CFLAGS=-zkl -wo -x#### -mc# -zdp# -zp16 -zq OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+ -FLAGS=-0 -d2 -l=dos -bt=dos $(OFLAGS) $(CFLAGS) +FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) REMOVECOMMAND=rm DIRSEP=/ +OBJ=o SRC=src$(DIRSEP) SRCLIB=$(SRC)lib$(DIRSEP) JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) EXMMLIB=$(SRCLIB)exmm$(DIRSEP) +WCPULIB=$(SRCLIB)wcpu$(DIRSEP) -all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe +16LIBOBJS = modex16.$(OBJ) dos_kb.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) wcpu.$(OBJ) lib_head.$(OBJ) scroll16.$(OBJ) + +all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe fonttest.exe # #executables # -scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj - wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj# 16/lib/x/modex.lib -scroll.obj: $(SRC)scroll.c +16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib + wcl $(FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) 16.lib + +scroll.exe: scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ) + wcl $(FLAGS) scroll.$(OBJ) 16.lib mapread.$(OBJ) jsmn.$(OBJ) +scroll.$(OBJ): $(SRC)scroll.c wcl $(FLAGS) -c $(SRC)scroll.c -test.exe: test.obj modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) test.obj modex16.obj bitmap.obj lib_head.obj +test.exe: test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) test.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + +test2.exe: test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) test2.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) + +fonttest.exe: text.$(OBJ) fonttest.$(OBJ) + wcl $(FLAGS) fonttest.$(OBJ) 16text.$(OBJ) + +16text.$(OBJ): $(SRCLIB)16text.c + wcl -c $(SRCLIB)16text.c + +fonttest.$(OBJ): $(SRC)fonttest.c + wcl -c $(SRC)fonttest.c -test2.exe: test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj - wcl $(FLAGS) test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj +pcxtest.exe: pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) pcxtest.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) lib_head.$(OBJ) -pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj lib_head.obj +palettec.exe: palettec.$(OBJ) modex16.$(OBJ) + wcl $(FLAGS) palettec.$(OBJ) modex16.$(OBJ) -maptest.exe: maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj +maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) -maptest0.exe: maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj - wcl $(FLAGS) $(MFLAGS) maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj +maptest0.exe: maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) + wcl $(FLAGS) $(MFLAGS) maptest0.$(OBJ) fmapread.$(OBJ) farjsmn.$(OBJ)# modex16.$(OBJ) bitmap.$(OBJ) lib_head.$(OBJ) -emmtest.exe: emmtest.obj memory.obj - wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj +emmtest.exe: emmtest.$(OBJ) memory.$(OBJ) + wcl $(FLAGS) $(MFLAGS) emmtest.$(OBJ) memory.$(OBJ) -emsdump.exe: emsdump.obj memory.obj - wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj +emsdump.exe: emsdump.$(OBJ) memory.$(OBJ) + wcl $(FLAGS) $(MFLAGS) emsdump.$(OBJ) memory.$(OBJ) -fmemtest.exe: fmemtest.obj# memory.obj - wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj +fmemtest.exe: fmemtest.$(OBJ)# memory.$(OBJ) + wcl $(FLAGS) $(MFLAGS) fmemtest.$(OBJ)# memory.$(OBJ) # #executable's objects # -test.obj: $(SRC)test.c $(SRCLIB)modex16.h +16.$(OBJ): $(SRC)16.h $(SRC)16.c + wcl $(FLAGS) -c $(SRC)16.c + +test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)test.c -test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h +test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)test2.c -pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h +pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)pcxtest.c -maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h +palettec.$(OBJ): $(SRC)palettec.c + wcl $(FLAGS) -c $(SRC)palettec.c + +maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h wcl $(FLAGS) -c $(SRC)maptest.c -maptest0.obj: $(SRC)maptest0.c# $(SRCLIB)modex16.h +maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c -emmtest.obj: $(SRC)emmtest.c +emmtest.$(OBJ): $(SRC)emmtest.c wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c -emsdump.obj: $(SRC)emsdump.c +emsdump.$(OBJ): $(SRC)emsdump.c wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c -fmemtest.obj: $(SRC)fmemtest.c +fmemtest.$(OBJ): $(SRC)fmemtest.c wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c # #non executable objects libraries # -modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c +16.lib: $(16LIBOBJS) + wlib -b 16.lib $(16LIBOBJS) + +modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c wcl $(FLAGS) -c $(SRCLIB)modex16.c -dos_kb.obj: $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c +dos_kb.$(OBJ): $(SRCLIB)dos_kb.h $(SRCLIB)dos_kb.c wcl $(FLAGS) -c $(SRCLIB)dos_kb.c -bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c +bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c wcl $(FLAGS) -c $(SRCLIB)bitmap.c -planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c +planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c wcl $(FLAGS) -c $(SRCLIB)planar.c -mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c - wcl $(FLAGS) -c $(SRCLIB)mapread.c +scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c + wcl $(FLAGS) -c $(SRCLIB)scroll16.c + +wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c + wcl $(FLAGS) -c $(WCPULIB)wcpu.c + +mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib + wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib -fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c - wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c +fmapread.$(OBJ): $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib + wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib -lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c +lib_head.$(OBJ): $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c wcl $(FLAGS) -c $(SRCLIB)lib_head.c -jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c +jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c wcl $(FLAGS) -c $(JSMNLIB)jsmn.c -farjsmn.obj: $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c +farjsmn.$(OBJ): $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c -memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c +memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c # #other~ # clean: .symbolic -# @$(REMOVECOMMAND) *.obj +# @$(REMOVECOMMAND) *.$(OBJ) @$(REMOVECOMMAND) *.OBJ # @$(REMOVECOMMAND) *.out # @$(REMOVECOMMAND) *.OUT diff --git a/ptmp.pcx b/ptmp.pcx deleted file mode 100644 index 3b9563133076f181874616e04810f59f7fa51e7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5047 zcmeI0y^b8m6@{y~)l)sq9ctQSk2pIUZLEmTK)_7=1_r^z$`l$3B{(n$ht3T60Sws> zuz<7b?)lqa5=spb5R^DD1laldJGZ8HX6Z#1>fgAK zVyI%W_Kvi1y#r2_e6Gc)V(@*q%1v?CqQHnDG2n%@lkdW$3mdUgC5I&wL2d=~Vda+C zCY`)}z*purbPQzx)1FCD~G+Fv=oJiu7P5>Q?ul;aC} zew>|ySC_%%s!5EjHpEmgnU2wyDU?O>kwYzumZ9K>qFi!Hr3WtPc<#)l^K1i$h0i69 z0Q}17}A9$qt_-D6wVEM`p1|vX%$4N8UxN+Ecz7$)#*Oz>@gJH#D zbdk2i5S+La5NU^a5wy~7XTm4;%*V;^ELvN(UCXtPH++e*RMg6F>qf^<(&Hz`qg#v0 zF0O&h_N_}JZs>?_;cG&^9sS7P#wq-VzwcQ34?JB*^y^@V!uL*b%U0(ulhU$COZAm& zi9@k26)zcxlX`MRhoe-i)RUxV9h^eFHR^zBk9rO;Oj6CWtO?S=i)9=_8&?x4HKVtZ zlZ}{znb8TXT7)U}67%IUb=4Zt8a02e7UB1?dg#Nd9mfq0=aMHhA>NW?UP<~U%C%dI1N2rxqKQB#Z& z#-23{{<;D2H~vWWPs-M>4Lj_=X2FQ*Fj zRHnu3%1H+XNJllEmIc3tN>frXEslzDY_6eB%khyR3J>XvA-C=bUM#}tb#^f8h6{L< z3bWrj3-A+vgQ+x=;HYfnWmQyd;s>It?X)b;(n-M|md1j;MY6QA10wcA>c2SZ~L52()-KDlp6 zU4i9m_CDLBLu^c)t!M+0zzz{Y_v}<7?so6VyFyUdKvQw1U?UN^4(jpj^l4f=J$-h> zv3xW_$Fc44D>n|svw2#~pV6Qq1lzv@a|xkw8FODm;7CWi z+{_zu&x&Dn1XqVu4t0b8IYU&ohAnugB;t}Xc~?oaG^t;6DIuUiehFVL;-#B4vg{(d zuR5hKa${TdDypafFlp^(>(Bz#4_o^lXr|p^W75%biIrwEM+@srL2ld{osgPzY#N2a zit2v!%@T*|>Fz|xM)>Jgk;vYPFBBBGbDWJ41^1oVJW7=yL~JA{huA^h3;p0ZDx zGdNkvKY$&|&4p@Joj~z5$~a)XS2+NRc&NakhHAEel=z+U7ct>FN76Nrmu3T6z zk8L^Rz`v6|8v!lJ1T=suJ+d2Eaz#O9!7d1vdSrsO#Rw}$*jq;CrN^W0Dk^wlN)W@7 zTy~7ac94z6MT2VO*8-FS;n@3Y2GaQh0(@x(at4+90GY}D(m6eIK@{u>+*S0VVFGFa z%Kz~IX1a3WJ&a7u(!$;{s)l+lnt?}B)8g7SaZK?r^3dHIxd-khF!bU zK%syv-exPSD3(ynoXR88{)yfYNY>d@9IcqkpI8AwUiMXFD^*CGa0JMR!9*X$LcX13 zZhnnPQ4vUjN^=$4j+xhC4u>CA+?AysM%YN61oPTVl=EIf!}ykxL#1)_Dvfr4CYri@ zjH8J2RkN7uJx2w8QVGGp*UD1Od@Vjt|K(pVU%Iz{ICE!T|8Diy tuYZ&N_}dSE`~CU(`M2li|4D!T=k4v?hugcmyZ!%5{M`C^2mX(D;J@bqM #include #include "lib/types.h" -#include "lib/text.h" +#include "lib/16text.h" void main(int argc, char *argv[]) { diff --git a/src/lib/TEXT.C b/src/lib/16text.c similarity index 94% rename from src/lib/TEXT.C rename to src/lib/16text.c index 107f8e94..59420b5c 100644 --- a/src/lib/TEXT.C +++ b/src/lib/16text.c @@ -1,4 +1,4 @@ -#include "text.h" +#include "16text.h" /* this array holds the rom font descriptors */ font_t romFonts[4]; diff --git a/src/lib/TEXT.H b/src/lib/16text.h similarity index 100% rename from src/lib/TEXT.H rename to src/lib/16text.h diff --git a/wmakegnu.sh b/wmakegnu.sh index 68b3df9e..77563ae9 100644 --- a/wmakegnu.sh +++ b/wmakegnu.sh @@ -1,2 +1,2 @@ -#/bin/bash +#!/bin/bash wmake -f makefile.gnu -- 2.39.5