DIRSEP=\\r
SRC=src$(DIRSEP)\r
SRCLIB=$(SRC)lib$(DIRSEP)\r
-JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)\r
+JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
+EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
\r
-all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe\r
+all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe far.exe emmtest.exe\r
\r
scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj\r
wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj# 16/lib/x/modex.lib\r
wcl $(FLAGS) maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
maptest0.exe: maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
- wcl $(FLAGS) maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
+ wcl $(FLAGS) maptest0.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj
+
+emmtest.exe: emmtest.obj memory.obj
+ wcl $(FLAGS) emmtest.obj memory.obj
+
+far.exe: far.obj memory.obj
+ wcl $(FLAGS) far.obj memory.obj
+
\r
test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test.c\r
pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)pcxtest.c\r
\r
-maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h\r
+maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h
wcl $(FLAGS) -c $(SRC)maptest.c
maptest0.obj: $(SRC)maptest0.c $(SRCLIB)modex16.h\r
- wcl $(FLAGS) -c $(SRC)maptest0.c\r
-\r
+ wcl $(FLAGS) -c $(SRC)maptest0.c
+
+emmtest.obj: $(SRC)emmtest.c\r
+ wcl $(FLAGS) -c $(SRC)emmtest.c\r
+
+far.obj: $(SRC)far.c\r
+ wcl $(FLAGS) -c $(SRC)far.c
+
\r
modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
wcl $(FLAGS) -c $(SRCLIB)modex16.c\r
\r
jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
+
+memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
+ wcl $(FLAGS) -c $(EXMMLIB)memory.c
\r
clean: .symbolic\r
# @$(REMOVECOMMAND) *.obj\r