JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
\r
-all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe far.exe emmtest.exe\r
-\r
+all: test.exe pcxtest.exe test2.exe scroll.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe\r
+
+#
+#executables
+#\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
scroll.obj: $(SRC)scroll.c\r
emmtest.exe: emmtest.obj memory.obj
wcl $(FLAGS) emmtest.obj memory.obj
-far.exe: far.obj memory.obj
- wcl $(FLAGS) far.obj memory.obj
+emsdump.exe: emsdump.obj memory.obj
+ wcl $(FLAGS) emsdump.obj memory.obj
-\r
+fmemtest.exe: fmemtest.obj# memory.obj
+ wcl $(FLAGS) fmemtest.obj# memory.obj
+
+#
+#executable's objects
+#\r
test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
wcl $(FLAGS) -c $(SRC)test.c\r
\r
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
+emsdump.obj: $(SRC)emsdump.c\r
+ wcl $(FLAGS) -c $(SRC)emsdump.c
-\r
+fmemtest.obj: $(SRC)fmemtest.c\r
+ wcl $(FLAGS) -c $(SRC)fmemtest.c
+
+#
+#non executable objects libraries
+#\r
modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
wcl $(FLAGS) -c $(SRCLIB)modex16.c\r
\r
memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
wcl $(FLAGS) -c $(EXMMLIB)memory.c
-\r
+
+#
+#other~
+#\r
clean: .symbolic\r
# @$(REMOVECOMMAND) *.obj\r
@$(REMOVECOMMAND) *.OBJ\r