-FLAGS=-0 -d2 \r
+FLAGS=-0 -d2 -mh \r
SRC=src\\r
SRCLIB=$(SRC)lib\\r
all: test.exe pcxtest.exe test2.exe scroll.exe\r
wcl $(FLAGS) -c $(SRC)scroll.c\r
test.exe: test.obj modex16.obj bitmap.obj\r
wcl $(FLAGS) test.obj modex16.obj bitmap.obj\r
- \r
+\r
test2.exe: test2.obj modex16.obj bitmap.obj planar.obj\r
wcl $(FLAGS) test2.obj modex16.obj bitmap.obj planar.obj\r
- \r
+\r
pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj\r
wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj\r
\r
-#maptest.exe: maptest.obj mapread.obj jsmn.obj\r
-# wcl $(FLAGS) maptest.obj jsmn.obj\r
+maptest.exe: maptest.obj mapread.obj jsmn.obj\r
+ wcl $(FLAGS) maptest.obj jsmn.obj\r
\r
test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test.c\r
- \r
+\r
test2.obj: $(SRC)test2.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test2.c\r
- \r
+\r
pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)pcxtest.c\r
\r
\r
planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c\r
wcl $(FLAGS) -c $(SRCLIB)planar.c\r
- \r
+\r
mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c jsmn.obj lib_head.obj\r
wcl $(FLAGS) -c $(SRCLIB)mapread.c\r
\r
jsmn.obj: $(SRCLIB)jsmn\jsmn.h $(SRCLIB)jsmn\jsmn.c\r
wcl $(FLAGS) -c $(SRCLIB)jsmn\jsmn.c\r
\r
-clean: \r
+clean:\r
del *.obj\r
# del *.exe\r
}*/\r
\r
/* create the map */\r
-//0000 printf("Total used @ before map load: %zu\n", oldfreemem-GetFreeSize());\r
- loadmap("data/test.map", &map);\r
+//0000 printf("Total used @ before map load: %zu\n", oldfreemem-GetFreeSize());
+ fprintf(stderr, "testing~\n");\r
+//testqqqq loadmap("data/test.map", &map);\r
//---- map = allocMap(map.width,map.height); //20x15 is the resolution of the screen you can make maps smaller than 20x15 but the null space needs to be drawn properly\r
//if(isEMS()) printf("%d tesuto\n", coretotalEMS());\r
//---- initMap(&map);\r