#testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe
EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
-all: $(EXEC) joytest.exe
+all: $(EXEC) joytest.exe vrs
#$(16LIBOBJS) => 16.lib bug....
#
@wmake -h -f makefile all
@cd $(PDIR)$(PDIR)
-ed: .symbolic
-@cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
-@call spri.bat
+vrs: .symbolic
+ @cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga
+ #@make clean
+ @make all
+ @mv pcx2vrl ../../../../../
+ @mv pcxsscut ../../../../../
+ @mv vrl2vrs ../../../../../
+ @mv vrsdump ../../../../../
+ @cd ../../../../../
--- /dev/null
+// header file for sprite sheet. AUTO GENERATED, do not edit
+//
+// source PCX: data/ptmp.pcx
+// sheet script: data/spri/ptmp.sht
+// palette file: data/spri/ptmp.pal
+
+
+// end list
--- /dev/null
+// header file for sprite sheet. AUTO GENERATED, do not edit
+//
+// sheet script: data/spri/ptmp.sht
+
+// sprite sheet (sprite IDs)
+// animation list (animation IDs)
+
+// end list
+++ /dev/null
-rem @echo off\r
-@cd data\spri\r
-@rem src\lib\doslib\hw\vga\dos86l\pcxsscut -s data\spri\%1.sht -hc %1.h -hp _%1_ -i data\%1.pcx -p data\spri\%1.pal -tc 0x84 -y\r
-@rem src\lib\doslib\hw\vga\dos86l\vrl2vrs -s data\spri\%1.sht -hc %1s.h -hp _%1_ -o data\spri\%1.vrs\r
-..\..\src\lib\doslib\hw\vga\dos86l\pcxsscut -s %1.sht -hc %1.h -hp _%1_ -i ..\%1.pcx -p %1.pal -tc 0x84 -y\r
-..\..\src\lib\doslib\hw\vga\dos86l\vrl2vrs -s %1.sht -hc %1s.h -hp _%1_ -o %1.vrs\r
-@cd ..\..\\r
--- /dev/null
+#! /bin/bash
+./pcxsscut -s data/spri/"$1".sht -hc "$1".h -hp _"$1"_ -i data/"$1".pcx -p data/spri/"$1".pal -tc 0x"$2" -y
+./vrl2vrs -s data/spri/"$1".sht -hc "$1"s.h -hp _"$1"_ -o data/spri/"$1".vrs
+# . ./pcxsscut "$pee"
+# . ./vrl2vrs "$pee"