From b247485bb06c13d1aaa7ca86e043116b5c852611 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 26 May 2015 16:03:48 -0500 Subject: [PATCH] output of maptest.exe modified: makefile new file: maptest.out --- makefile | 120 ++++++++++++++++++++++++++-------------------------- maptest.out | 9 ++++ 2 files changed, 69 insertions(+), 60 deletions(-) create mode 100644 maptest.out diff --git a/makefile b/makefile index 3cf99e4f..7b5d2094 100644 --- a/makefile +++ b/makefile @@ -7,69 +7,69 @@ OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+ FLAGS=-0 -d2 $(OFLAGS) $(CFLAGS) REMOVECOMMAND=del DIRSEP=\ -SRC=src$(DIRSEP) +SRC=src$(DIRSEP) SRCLIB=$(SRC)lib$(DIRSEP) JSMNLIB=$(SRCLIB)jsmn$(DIRSEP) - -all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe - -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 - 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 - -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 lib_head.obj - wcl $(FLAGS) pcxtest.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 - - -test.obj: $(SRC)test.c $(SRCLIB)modex16.h - wcl $(FLAGS) -c $(SRC)test.c - -test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h - wcl $(FLAGS) -c $(SRC)test2.c - -pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h - wcl $(FLAGS) -c $(SRC)pcxtest.c - -maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h - wcl $(FLAGS) -c $(SRC)maptest.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 - wcl $(FLAGS) -c $(SRCLIB)dos_kb.c - -bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c - wcl $(FLAGS) -c $(SRCLIB)bitmap.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 - -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 + +all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe + +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 + 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 + +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 lib_head.obj + wcl $(FLAGS) pcxtest.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 + + +test.obj: $(SRC)test.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)test.c + +test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)test2.c + +pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)pcxtest.c + +maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h + wcl $(FLAGS) -c $(SRC)maptest.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 + wcl $(FLAGS) -c $(SRCLIB)dos_kb.c + +bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c + wcl $(FLAGS) -c $(SRCLIB)bitmap.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 + +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 wcl $(FLAGS) -c $(JSMNLIB)jsmn.c -clean: .symbolic - @$(REMOVECOMMAND) *.obj +clean: .symbolic +# @$(REMOVECOMMAND) *.obj @$(REMOVECOMMAND) *.OBJ - @$(REMOVECOMMAND) *.out - @$(REMOVECOMMAND) *.OUT +# @$(REMOVECOMMAND) *.out +# @$(REMOVECOMMAND) *.OUT @$(REMOVECOMMAND) makefi~1 - @$(REMOVECOMMAND) __WCL__.LNK - @$(REMOVECOMMAND) *.smp - @$(REMOVECOMMAND) *.SMP + @$(REMOVECOMMAND) __WCL__.LNK +# @$(REMOVECOMMAND) *.smp + @$(REMOVECOMMAND) *.SMP diff --git a/maptest.out b/maptest.out new file mode 100644 index 00000000..03a048e1 --- /dev/null +++ b/maptest.out @@ -0,0 +1,9 @@ +indent= [1] h:[30] +indent= [1] w:[40] +map.width= 40 +map.height= 30 +&map==0018:191e +&map.tiles==0018:19a8 +&map.width==0018:0028 +&map.height==0018:001e +&map.data==1237:0018 -- 2.39.5