2 # Higanbana Project makefile
5 # Possible optimizations for 8088 class processors
7 # -oa Relax alias checking
8 # -ob Try to generate straight line code
9 # -oe - expand user functions inline (-oe=20 is default, adds lots of code)
10 # -oh Enable repeated optimizations
11 # -oi generate certain lib funcs inline
12 # -oi+ Set max inline depth (C++ only, use -oi for C)
13 # -ok Flowing of register save into function flow graph
14 # -ol loop optimizations
15 # -ol+ loop optimizations plus unrolling
16 # -or Reorder for pipelined (486+ procs); not sure if good to use
17 # -os Favor space over time
18 # -ot Favor time over space
19 # -ei Allocate an "int" for all enum types
20 # -zp2 Allow compiler to add padding to structs
21 # -zpw Use with above; make sure you are warning free!
22 # -0 8088/8086 class code generation
23 # -s disable stack overflow checking
25 # -zk0u translate kanji to unicode... wwww
27 # -zkl current codepage
29 # this enables debug output to the serial port.
30 # comment this out on game release.
31 # serial output goes to COM1 at 9600 baud 1 stop bit odd parity.
32 # serial output is plain text ASCII.
52 #EXMMTESTDIR=16$(DIRSEP)exmmtest$(DIRSEP)
56 SPRI=$(DATADIR)$(DIRSEP)spri$(DIRSEP)
57 SRCLIB=$(SRC)lib$(DIRSEP)
58 JSMNLIB=$(SRCLIB)jsmn$(DIRSEP)
59 NYANLIB=$(SRCLIB)nyan$(DIRSEP)
60 #EXMMLIB=$(SRCLIB)exmm$(DIRSEP)
61 MODEXLIB=$(SRCLIB)modex16$(DIRSEP)
62 MODEXLIB_=$(SRCLIB)modex$(DIRSEP)
63 VGMSNDLIB=$(SRCLIB)vgmsnd$(DIRSEP)
64 DOSLIB=$(SRCLIB)doslib$(DIRSEP)
65 DOSLIBDIR=$(SRCLIB)doslib
66 WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
72 WCLQ=####++++-zq $(WLIBQ)
79 SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768#54096#60000
80 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
81 ZFLAGS=-zk0 -zc -zp8 $(WCLQ) ## -zm
83 CFLAGS=$(AFLAGS) $(IFLAGS) -wo -i$(DOSLIB) $(LFLAG)
84 OFLAGS=-obmilr -oe=24 -out -oh -ei -zp8 -fpi87 -onac -ol+ -ok####x
85 FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)
90 VGMSNDOBJ = vgmSnd.$(OBJ) 16_snd.$(OBJ)
91 DOSLIBOBJ = adlib.$(OBJ) 8254.$(OBJ) 8259.$(OBJ) dos.$(OBJ) cpu.$(OBJ)
92 16LIBOBJS = 16_in.$(OBJ) 16_mm.$(OBJ) wcpu.$(OBJ) 16_head.$(OBJ) 16_ca.$(OBJ) 16_dbg.$(OBJ) kitten.$(OBJ) 16_hc.$(OBJ) 16_timer.$(OBJ)
94 GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ) bakapee.$(OBJ) scroll16.$(OBJ) 16render.$(OBJ) 16planar.$(OBJ) $(DOSLIBLIBS)
96 DOSLIBLIBS=$(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib
99 FLAGS += -DDEBUGSERIAL
100 DOSLIBOBJ += 8250.$(OBJ)
101 DOSLIBLIBS += $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250$(DIRSEP)dos86h$(DIRSEP)8250.lib
104 TESTEXEC = test.exe test0.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe scroll.exe vgmtest.exe inputest.exe palettel.exe planrpcx.exe exmmtest.exe
106 EXEC = 16.exe bakapi.exe tesuto.exe 0.exe $(TESTEXEC)
108 all: $(EXEC) joytest.exe
109 #16.lib => $(16LIBOBJS) bug....
112 16LIB += $(DOSLIBLIBS)
115 #game and bakapi executables
117 16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
118 wcl $(FLAGS) $(16FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=16.mah
120 bakapi.exe: bakapi.$(OBJ) gfx.lib $(DOSLIBLIBS)
121 wcl $(FLAGS) $(BAKAPIFLAGS) bakapi.$(OBJ) gfx.lib $(DOSLIBLIBS) -fm=bakapi.mah
126 scroll.exe: scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
127 wcl $(FLAGS) scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=scroll.mah
128 scroll.$(OBJ): $(SRC)scroll.c
129 wcl $(FLAGS) -c $(SRC)scroll.c
132 # NOTE: dos86h = 16-bit huge memory model. memory model must match!
133 tesuto.exe: tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
134 # %write tmp.cmd option quiet option max=tesuto.mah $(DOSLIB_LDFLAGS_DOS16H) file tesuto.obj name tesuto.exe
135 # %write tmp.cmd library $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib
136 # %write tmp.cmd library $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib
138 wcl $(FLAGS) $(WCLQ) tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
139 tesuto.$(OBJ): $(SRC)tesuto.c
140 wcl $(FLAGS) $(WCLQ) -c $(SRC)tesuto.c
142 0.exe: 0.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
143 wcl $(FLAGS) $(WCLQ) 0.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
145 wcl $(FLAGS) $(WCLQ) -c $(SRC)0.c
147 test.exe: test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB)
148 wcl $(FLAGS) test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB) -fm=test.mah
150 test2.exe: test2.$(OBJ) $(DOSLIBLIBS) gfx.lib
151 wcl $(FLAGS) test2.$(OBJ) $(DOSLIBLIBS) gfx.lib -fm=test2.mah
153 test0.exe: test0.$(OBJ)
154 wcl $(FLAGS) test0.$(OBJ) -fm=test0.mah
156 fonttest.exe: fonttest.$(OBJ) $(16LIB) gfx.lib
157 wcl $(FLAGS) fonttest.$(OBJ) $(16LIB) gfx.lib -fm=fonttest.mah
159 #fonttes0.exe: fonttes0.$(OBJ) $(16LIB)
160 # wcl $(FLAGS) fonttes0.$(OBJ) $(16LIB)
162 fontgfx.exe: fontgfx.$(OBJ) $(16LIB) gfx.lib $(DOSLIBLIBS)
163 wcl $(FLAGS) fontgfx.$(OBJ) $(16LIB) gfx.lib $(DOSLIBLIBS) -fm=fontgfx.mah
165 inputest.exe: inputest.$(OBJ) $(16LIB)
166 wcl $(FLAGS) inputest.$(OBJ) $(16LIB) -fm=inputest.mah
168 #sountest.exe: sountest.$(OBJ) $(16LIB)
169 # wcl $(FLAGS) sountest.$(OBJ) $(16LIB)
171 pcxtest.exe: pcxtest.$(OBJ) gfx.lib
172 wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -fm=pcxtest.mah
174 palettec.exe: palettec.$(OBJ) gfx.lib #$(16LIB)
175 wcl $(FLAGS) palettec.$(OBJ) gfx.lib -fm=palettec.mah #$(16LIB)
177 palettel.exe: palettel.$(OBJ) gfx.lib #$(16LIB)
178 wcl $(FLAGS) palettel.$(OBJ) gfx.lib -fm=palettel.mah #$(16LIB)
180 pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib
181 wcl $(FLAGS) pcxtest2.$(OBJ) gfx.lib -fm=pcxtest2.mah
183 planrpcx.exe: planrpcx.$(OBJ) gfx.lib
184 wcl $(FLAGS) planrpcx.$(OBJ) gfx.lib -fm=planrpcx.mah
186 maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
187 wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=maptest.mah
189 fmemtest.exe: fmemtest.$(OBJ) $(16LIB)
190 wcl $(FLAGS) fmemtest.$(OBJ) $(16LIB) -fm=fmemtest.mah
192 exmmtest.exe: exmmtest.$(OBJ) $(16LIB)
193 ####++++ wcl $(FLAGS) exmmtest.$(OBJ) -fm=exmmtest.mah $(16LIB)
194 ./wlink32 @__wcl__.lnk
196 vgmtest.exe: vgmtest.$(OBJ) vgmsnd.lib $(16LIB)
197 wcl $(FLAGS) vgmtest.$(OBJ) vgmsnd.lib -fm=vgmtest.mah $(16LIB)
198 #====wcl -mc vgmtest.$(OBJ) $(VGMSNDOBJ) -fm=vgmtest.mah
202 #executable's objects
204 16.$(OBJ): $(SRC)16.h $(SRC)16.c
205 wcl $(FLAGS) -c $(SRC)16.c
207 bakapi.$(OBJ): $(SRC)bakapi.h $(SRC)bakapi.c
208 wcl $(FLAGS) -c $(SRC)bakapi.c
210 test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h
211 wcl $(FLAGS) -c $(SRC)test.c
213 test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h
214 wcl $(FLAGS) -c $(SRC)test2.c
216 test0.$(OBJ): $(SRC)test0.c
217 wcl $(FLAGS) -c $(SRC)test0.c
219 pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h
220 wcl $(FLAGS) -c $(SRC)pcxtest.c
222 planrpcx.$(OBJ): $(SRC)planrpcx.c $(SRCLIB)modex16.h
223 wcl $(FLAGS) -c $(SRC)planrpcx.c
225 pcxtest2.$(OBJ): $(SRC)pcxtest2.c $(SRCLIB)modex16.h
226 wcl $(FLAGS) -c $(SRC)pcxtest2.c
228 palettec.$(OBJ): $(SRC)palettec.c
229 wcl $(FLAGS) -c $(SRC)palettec.c
231 palettel.$(OBJ): $(SRC)palettel.c
232 wcl $(FLAGS) -c $(SRC)palettel.c
234 maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h
235 wcl $(FLAGS) -c $(SRC)maptest.c
237 #maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h
238 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c
240 #emmtest.$(OBJ): $(SRC)emmtest.c
241 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c
243 #emsdump.$(OBJ): $(SRC)emsdump.c
244 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
246 fmemtest.$(OBJ): $(SRC)fmemtest.c
247 wcl $(FLAGS) -c $(SRC)fmemtest.c
249 fonttest.$(OBJ): $(SRC)fonttest.c
250 wcl $(FLAGS) -c $(SRC)fonttest.c
252 #fonttes0.$(OBJ): $(SRC)fonttes0.c
253 # wcl $(FLAGS) -c $(SRC)fonttes0.c
255 fontgfx.$(OBJ): $(SRC)fontgfx.c
256 wcl $(FLAGS) -c $(SRC)fontgfx.c
258 inputest.$(OBJ): $(SRC)inputest.c
259 wcl $(FLAGS) -c $(SRC)inputest.c
261 #sountest.$(OBJ): $(SRC)sountest.c
262 # wcl $(FLAGS) -c $(SRC)sountest.c
264 #miditest.$(OBJ): $(SRC)miditest.c
265 # wcl $(FLAGS) -c $(SRC)miditest.c
267 #testemm.$(OBJ): $(SRC)testemm.c
268 # wcl $(FLAGS) -c $(SRC)testemm.c
270 #testemm0.$(OBJ): $(SRC)testemm0.c
271 # wcl $(FLAGS) -c $(SRC)testemm0.c
273 tsthimem.$(OBJ): $(SRC)tsthimem.c
274 wcl $(FLAGS) -c $(SRC)tsthimem.c
276 exmmtest.$(OBJ): $(SRC)exmmtest.c $(16LIB)
277 wcl $(FLAGS) -c $(SRC)exmmtest.c $(16LIB)
279 vgmtest.$(OBJ): $(SRC)vgmtest.c
280 wcl $(FLAGS) -c $(SRC)vgmtest.c
281 #====wcl -mc -c $(SRC)vgmtest.c
284 #non executable objects libraries
286 16.lib: $(16LIBOBJS)# doslib.lib vgmsnd.lib
287 wlib -b $(WLIBQ) 16.lib $(16LIBOBJS)# doslib.lib vgmsnd.lib
289 gfx.lib: $(GFXLIBOBJS) 16_in.$(OBJ) 16_head.$(OBJ)
290 wlib -b $(WLIBQ) gfx.lib $(GFXLIBOBJS) 16_in.$(OBJ) 16_head.$(OBJ)
292 vgmsnd.lib: $(VGMSNDOBJ)
293 wlib -b $(WLIBQ) vgmsnd.lib $(VGMSNDOBJ)
296 # !include $(DOSLIBDIR)$(DIRSEP)extdep.mak
298 # library deps 16-bit huge
299 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib:
300 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu && .$(DIRSEP)make.sh
301 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib:
302 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos && .$(DIRSEP)make.sh
303 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vgatty.lib:
304 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
305 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib:
306 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
307 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250$(DIRSEP)dos86h$(DIRSEP)8250.lib:
308 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250 && .$(DIRSEP)make.sh
311 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)joystick && .$(DIRSEP)make.sh && $(COPYCOMMAND) dos86h$(DIRSEP)test.exe $(PDIR)$(PDIR)$(PDIR)$(PDIR)$(PDIR)joytest.exe
312 #$(DOSLIBLIBS): .symbolic
314 # @.$(DIRSEP)buildall.sh
315 # @cd $(PDIR)$(PDIR)$(PDIR)
317 modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c
318 wcl $(FLAGS) -c $(SRCLIB)modex16.c
320 bakapee.$(OBJ): $(SRCLIB)bakapee.h $(SRCLIB)bakapee.c
321 wcl $(FLAGS) -c $(SRCLIB)bakapee.c
323 16render.$(OBJ): $(MODEXLIB)16render.h $(MODEXLIB)16render.c
324 wcl $(FLAGS) -c $(MODEXLIB)16render.c
326 16planar.$(OBJ): $(MODEXLIB)16planar.h $(MODEXLIB)16planar.c
327 wcl $(FLAGS) -c $(MODEXLIB)16planar.c
329 bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c
330 wcl $(FLAGS) -c $(SRCLIB)bitmap.c
332 planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c
333 wcl $(FLAGS) -c $(SRCLIB)planar.c
335 scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c
336 wcl $(FLAGS) -c $(SRCLIB)scroll16.c
338 wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c
339 wcl $(FLAGS) -c $(WCPULIB)wcpu.c
341 16text.$(OBJ): $(SRCLIB)16text.c
342 wcl $(FLAGS) -c $(SRCLIB)16text.c
344 mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c
345 wcl $(FLAGS) -c $(SRCLIB)mapread.c
347 16_timer.$(OBJ): $(SRCLIB)16_timer.h $(SRCLIB)16_timer.c
348 wcl $(FLAGS) -c $(SRCLIB)16_timer.c
350 16_in.$(OBJ): $(SRCLIB)16_in.h $(SRCLIB)16_in.c
351 wcl $(FLAGS) -c $(SRCLIB)16_in.c
353 16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c
354 wcl $(FLAGS) -c $(SRCLIB)16_mm.c
356 16_ca.$(OBJ): $(SRCLIB)16_ca.h $(SRCLIB)16_ca.c
357 wcl $(FLAGS) -c $(SRCLIB)16_ca.c
359 16_dbg.$(OBJ): $(SRCLIB)16_dbg.h $(SRCLIB)16_dbg.c
360 wcl $(FLAGS) -c $(SRCLIB)16_dbg.c
362 midi.$(OBJ): $(SRCLIB)midi.h $(SRCLIB)midi.c
363 wcl $(FLAGS) -c $(SRCLIB)midi.c
365 16_head.$(OBJ): $(SRCLIB)16_head.h $(SRCLIB)16_head.c
366 wcl $(FLAGS) -c $(SRCLIB)16_head.c
368 16_hc.$(OBJ): $(SRCLIB)16_hc.h $(SRCLIB)16_hc.c
369 wcl $(FLAGS) -c $(SRCLIB)16_hc.c
371 16_snd.$(OBJ): $(SRCLIB)16_snd.h $(SRCLIB)16_snd.c
372 wcl $(FLAGS) -c $(SRCLIB)16_snd.c
373 #====wcl -mc -c $(SRCLIB)16_snd.c
375 jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c
376 wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
378 kitten.$(OBJ): $(NYANLIB)kitten.h $(NYANLIB)kitten.c
379 wcl $(FLAGS) -c $(NYANLIB)kitten.c
381 vgmSnd.$(OBJ): $(VGMSNDLIB)vgmSnd.h $(VGMSNDLIB)vgmSnd.c
382 wcl $(FLAGS) -c $(VGMSNDLIB)vgmSnd.c
383 #====wcl -c -mc $(VGMSNDLIB)vgmSnd.c
385 #memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c
386 # wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
388 c_utils.$(OBJ): $(MODEXLIB_)c_utils.asm
389 wcl -c $(AFLAGS) $(MODEXLIB_)c_utils.asm
390 modex.$(OBJ): $(MODEXLIB_)modex.asm
391 wcl -c $(AFLAGS) $(MODEXLIB_)modex.asm
397 @$(REMOVECOMMAND) $(EXEC)
398 @$(REMOVECOMMAND) /var/www/$(EXEC)*
399 @$(REMOVECOMMAND) *.$(OBJ)
400 @$(REMOVECOMMAND) 16.lib
401 @$(REMOVECOMMAND) gfx.lib
402 @$(REMOVECOMMAND) vgmsnd.lib
403 @wlib -n $(WLIBQ) 16.lib
404 @wlib -n $(WLIBQ) gfx.lib
405 @wlib -n $(WLIBQ) vgmsnd.lib
406 @$(REMOVECOMMAND) *.16
407 @$(REMOVECOMMAND) *.16W
408 @$(REMOVECOMMAND) *.16B
409 @$(REMOVECOMMAND) *.OBJ
410 @$(REMOVECOMMAND) *.o
411 @$(REMOVECOMMAND) *.BCO
412 @$(REMOVECOMMAND) makefi~1
413 @$(REMOVECOMMAND) makefile~
414 @$(REMOVECOMMAND) __wcl__.LNK
415 # @$(REMOVECOMMAND) *.smp
416 @$(REMOVECOMMAND) *.SMP
417 @$(REMOVECOMMAND) *.hed
418 @$(REMOVECOMMAND) *.MAH
419 @$(REMOVECOMMAND) *.mah
420 @$(REMOVECOMMAND) *.err
422 #@./buildall.sh clean
423 #@cd $(PDIR)$(PDIR)$(PDIR)
424 # @$(COPYCOMMAND) $(SRC)exmmtest.c $(EXMMTESTDIR)$(SRC)
425 # @$(COPYCOMMAND) $(SRCLIB)16_mm.* $(EXMMTESTDIR)$(SRCLIB)
426 # @$(COPYCOMMAND) $(SRCLIB)16_head.* $(EXMMTESTDIR)$(SRCLIB)
427 # @$(COPYCOMMAND) $(SRCLIB)16_ca.* $(EXMMTESTDIR)$(SRCLIB)
428 # @$(COPYCOMMAND) $(SRCLIB)16_hc.* $(EXMMTESTDIR)$(SRCLIB)
429 # @$(COPYCOMMAND) $(SRCLIB)types.h $(EXMMTESTDIR)$(SRCLIB)
430 # @$(COPYCOMMAND) $(NYANLIB)* $(EXMMTESTDIR)$(NYANLIB)
434 backupconfig: .symbolic
435 @$(COPYCOMMAND) .git$(DIRSEP)config git_con.fig
436 @$(COPYCOMMAND) .gitmodules git_modu.les
437 @$(COPYCOMMAND) .gitignore git_igno.re
443 @upx -9 $(UPXQ) $(EXEC)
446 @ssh -p 26 sparky4@4ch.mooo.com 'rm -f /var/www/16/*exe.zip*'
447 @rm -f /var/www/*.exe.zip*
448 #@cp ./$(EXEC) $(DIRSEP)var$(DIRSEP)www$(DIRSEP)
449 @./z.sh $(EXEC) $(EXEC)
450 @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/
451 @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/
457 ## External library management~ ^^
459 #git submodule add <repo>
463 @cd $(PDIR)$(PDIR)$(PDIR)
468 @cd $(PDIR)$(PDIR)$(PDIR)
471 @cd $(PDIR)$(PDIR)$(PDIR)
473 reinitlibs: .symbolic
474 @rm -rf $(SRCLIB)doslib
475 @rm -rf $(SRCLIB)jsmn
476 @rm -rf 16/CatacombApocalypse
482 @cp git_con.fig .git/config
483 @cp git_modu.les .gitmodules
484 @cp git_igno.re .gitignore
486 @git clone https://github.com/joncampbell123/doslib.git
487 @git clone https://github.com/zserge/jsmn.git
490 @git clone https://github.com/FlatRockSoft/CatacombApocalypse.git
491 @git clone https://github.com/id-Software/wolf3d.git
492 @git clone https://github.com/keendreams/keen.git
512 @wmake -h -f makefile all
516 @cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga
519 @mv pcx2vrl ../../../../../
520 @mv pcxsscut ../../../../../
521 @mv vrl2vrs ../../../../../
522 @mv vrsdump ../../../../../