]> 4ch.mooo.com Git - 16.git/commitdiff
merged makefile
authorRobert Lowe <robert.lowe@maryvillecollege.edu>
Mon, 22 Jun 2015 04:22:12 +0000 (00:22 -0400)
committerRobert Lowe <robert.lowe@maryvillecollege.edu>
Mon, 22 Jun 2015 04:22:12 +0000 (00:22 -0400)
1  2 
16.exe
makefile
scroll.exe

diff --combined 16.exe
index 0000000000000000000000000000000000000000,ae70cf0973d2bbfb730de865145e6a1adb907a1e..dc1c660c7765b6226c31e4fe1ad1b7fb182f2344
mode 000000,100644..100644
Binary files differ
diff --combined makefile
index 32cd430819c1e4cee748a3c35ba4c51a3c65dd9c,e301d66b158c4efb128ea872edd9ce059abcd1f3..bd4c4eedf27726edfd9c266816704ab6d902d6b2
+++ b/makefile
@@@ -1,7 -1,7 +1,7 @@@
  #-zk0u = translate kanji to unicode... wwww\r
  #-zk0 = kanji support~\r
  #-zkl = current codepage\r
 -
 +\r
  MFLAGS=-mh# -zm\r
  CFLAGS=-zkl -wo -x#### -mc# -zdp# -zp16 -zq\r
  OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+\r
@@@ -10,20 -10,22 +10,22 @@@ REMOVECOMMAND=de
  DIRSEP=\\r
  SRC=src$(DIRSEP)\r
  SRCLIB=$(SRC)lib$(DIRSEP)\r
- JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)\r
- EXMMLIB=$(SRCLIB)exmm$(DIRSEP)\r
- WCPULIB=$(SRCLIB)wcpu$(DIRSEP)\r
\r
- 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\r
\r
- #\r
- #executables\r
- #\r
- 16.exe: 16.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj scroll16.obj#planar.obj wcpu.obj\r
-       wcl $(FLAGS) 16.obj modex16.obj dos_kb.obj bitmap.obj mapread.obj jsmn.obj lib_head.obj scroll16.obj#planar.obj wcpu.obj\r
\r
- scroll.exe: scroll.obj modex16.obj dos_kb.obj bitmap.obj planar.obj mapread.obj jsmn.obj wcpu.obj\r
-       wcl $(FLAGS) scroll.obj modex16.obj dos_kb.obj bitmap.obj planar.obj mapread.obj jsmn.obj wcpu.obj# 16/lib/x/modex.lib\r
+ 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
\r
 -all: 16.exe test.exe pcxtest.exe test2.exe scroll.exe palettec.exe maptest.exe maptest0.exe emsdump.exe emmtest.exe fmemtest.exe \r
++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 \r
+ #
+ #executables
+ #
+ 16.exe: 16.obj mapread.obj jsmn.obj 16.lib
+       wcl $(FLAGS) 16.obj mapread.obj jsmn.obj 16.lib
\r
+ scroll.exe: scroll.obj 16.lib mapread.obj jsmn.obj\r
+       wcl $(FLAGS) scroll.obj 16.lib mapread.obj jsmn.obj\r
  scroll.obj: $(SRC)scroll.c\r
        wcl $(FLAGS) -c $(SRC)scroll.c\r
  test.exe: test.obj modex16.obj bitmap.obj lib_head.obj\r
  test2.exe: test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
        wcl $(FLAGS) test2.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
  \r
 +ftest.exe: text.obj ftest.obj\r
 +      wcl $(FLAGS) ftest.obj text.obj\r
 +\r
 +text.obj: $(SRCLIB)text.c\r
 +      wcl -c $(SRCLIB)text.c\r
 +\r
 +ftest.obj: $(SRC)ftest.c\r
 +      wcl -c $(SRC)ftest.c\r
 +\r
  pcxtest.exe: pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
 -      wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj
 -
 +      wcl $(FLAGS) pcxtest.obj modex16.obj bitmap.obj planar.obj lib_head.obj\r
 +\r
  palettec.exe: palettec.obj modex16.obj\r
        wcl $(FLAGS) palettec.obj modex16.obj\r
  \r
  maptest.exe: maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
        wcl $(FLAGS) maptest.obj mapread.obj jsmn.obj modex16.obj bitmap.obj lib_head.obj\r
 -
 +\r
  maptest0.exe: maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj\r
 -      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
 -
 -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
 -
 -#
 -#executable's objects
 -#
 +      wcl $(FLAGS) $(MFLAGS) maptest0.obj fmapread.obj farjsmn.obj# modex16.obj bitmap.obj lib_head.obj\r
 +\r
 +emmtest.exe: emmtest.obj memory.obj\r
 +      wcl $(FLAGS) $(MFLAGS) emmtest.obj memory.obj\r
 +\r
 +emsdump.exe: emsdump.obj memory.obj\r
 +      wcl $(FLAGS) $(MFLAGS) emsdump.obj memory.obj\r
 +\r
 +fmemtest.exe: fmemtest.obj# memory.obj\r
 +      wcl $(FLAGS) $(MFLAGS) fmemtest.obj# memory.obj\r
 +\r
 +#\r
 +#executable's objects\r
 +#\r
  16.obj: $(SRC)16.h $(SRC)16.c\r
 -      wcl $(FLAGS) -c $(SRC)16.c
 +      wcl $(FLAGS) -c $(SRC)16.c\r
  \r
  test.obj: $(SRC)test.c $(SRCLIB)modex16.h\r
        wcl $(FLAGS) -c $(SRC)test.c\r
@@@ -75,29 -68,32 +77,32 @@@ test2.obj: $(SRC)test2.c $(SRCLIB)modex
        wcl $(FLAGS) -c $(SRC)test2.c\r
  \r
  pcxtest.obj: $(SRC)pcxtest.c $(SRCLIB)modex16.h\r
 -      wcl $(FLAGS) -c $(SRC)pcxtest.c
 -
 +      wcl $(FLAGS) -c $(SRC)pcxtest.c\r
 +\r
  palettec.obj: $(SRC)palettec.c\r
 -      wcl $(FLAGS) -c $(SRC)palettec.c
 +      wcl $(FLAGS) -c $(SRC)palettec.c\r
 +\r
 +maptest.obj: $(SRC)maptest.c $(SRCLIB)modex16.h\r
 +      wcl $(FLAGS) -c $(SRC)maptest.c\r
  \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) $(MFLAGS) -c $(SRC)maptest0.c
 -
 +      wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c\r
 +\r
  emmtest.obj: $(SRC)emmtest.c\r
        wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c\r
 -
 +\r
  emsdump.obj: $(SRC)emsdump.c\r
 -      wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
 -
 +      wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c\r
 +\r
  fmemtest.obj: $(SRC)fmemtest.c\r
-       wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c\r
+       wcl $(FLAGS) $(MFLAGS) -c $(SRC)fmemtest.c
+ #
+ #non executable objects libraries
+ #
+ 16.lib: $(16LIBOBJS)\r
+       wlib -b 16.lib $(16LIBOBJS)
  \r
- #\r
- #non executable objects libraries\r
- #\r
  modex16.obj: $(SRCLIB)modex16.h $(SRCLIB)modex16.c\r
        wcl $(FLAGS) -c $(SRCLIB)modex16.c\r
  \r
@@@ -108,34 -104,34 +113,34 @@@ bitmap.obj: $(SRCLIB)bitmap.h $(SRCLIB)
        wcl $(FLAGS) -c $(SRCLIB)bitmap.c\r
  \r
  planar.obj: $(SRCLIB)planar.h $(SRCLIB)planar.c\r
 -      wcl $(FLAGS) -c $(SRCLIB)planar.c
 -
 +      wcl $(FLAGS) -c $(SRCLIB)planar.c\r
 +\r
  scroll16.obj: $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c\r
 -      wcl $(FLAGS) -c $(SRCLIB)scroll16.c
 -
 +      wcl $(FLAGS) -c $(SRCLIB)scroll16.c\r
 +\r
  wcpu.obj: $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c\r
 -      wcl $(FLAGS) -c $(WCPULIB)wcpu.c
 +      wcl $(FLAGS) -c $(WCPULIB)wcpu.c\r
  \r
- mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c\r
-       wcl $(FLAGS) -c $(SRCLIB)mapread.c\r
\r
- fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c\r
-       wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c\r
+ mapread.obj: $(SRCLIB)mapread.h $(SRCLIB)mapread.c 16.lib\r
+       wcl $(FLAGS) -c $(SRCLIB)mapread.c 16.lib
+ fmapread.obj: $(SRCLIB)fmapread.h $(SRCLIB)fmapread.c 16.lib\r
+       wcl $(FLAGS) $(MFLAGS) -c $(SRCLIB)fmapread.c 16.lib\r
  \r
  lib_head.obj: $(SRCLIB)lib_head.h $(SRCLIB)lib_head.c\r
        wcl $(FLAGS) -c $(SRCLIB)lib_head.c\r
  \r
  jsmn.obj: $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c\r
 -      wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
 -
 +      wcl $(FLAGS) -c $(JSMNLIB)jsmn.c\r
 +\r
  farjsmn.obj: $(JSMNLIB)farjsmn.h $(JSMNLIB)farjsmn.c\r
        wcl $(FLAGS) $(MFLAGS) -c $(JSMNLIB)farjsmn.c\r
 -
 +\r
  memory.obj: $(EXMMLIB)memory.h $(EXMMLIB)memory.c\r
 -      wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
 -
 -#
 -#other~
 +      wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c\r
 +\r
 +#\r
 +#other~\r
  #\r
  clean: .symbolic\r
  #     @$(REMOVECOMMAND) *.obj\r
diff --combined scroll.exe
index 0000000000000000000000000000000000000000,88867163851199635d27901d1e7d603812231fae..daf1175c37b99eaea4bec030103accdabc504e5d
mode 000000,100644..100644
Binary files differ