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)
74 BAKAPIFLAGS=-fh=bakapi.hed
75 SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768#54096#60000
76 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
77 ZFLAGS=-zk0 -zc -zp8 $(WCLQ) ## -zm
78 CFLAGS=$(AFLAGS) $(IFLAGS)-lr -l=dos -wo -i$(DOSLIB)##wwww
79 OFLAGS=-obmiler -out -oh -ei -zp8 -fpi87 -onac -ol+ -ok####x
80 FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)
83 VGMSNDOBJ = vgmSnd.$(OBJ) 16_snd.$(OBJ)
84 DOSLIBOBJ = adlib.$(OBJ) 8254.$(OBJ) 8259.$(OBJ) dos.$(OBJ) cpu.$(OBJ)
85 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)
87 GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ) bakapee.$(OBJ) scroll16.$(OBJ) 16render.$(OBJ) 16planar.$(OBJ) $(DOSLIBLIBS)
89 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
92 FLAGS += -DDEBUGSERIAL
93 DOSLIBOBJ += 8250.$(OBJ)
94 DOSLIBLIBS += $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250$(DIRSEP)dos86h$(DIRSEP)8250.lib
97 TESTEXEC = exmmtest.exe 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
99 EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe 0.exe
101 all: $(EXEC) joytest.exe
102 #16.lib => $(16LIBOBJS) bug....
105 16LIB += $(DOSLIBLIBS)
108 #game and bakapi executables
110 16.exe: 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
111 wcl $(FLAGS) $(16FLAGS) 16.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=16.mah
113 bakapi.exe: bakapi.$(OBJ) gfx.lib $(DOSLIBLIBS)
114 wcl $(FLAGS) $(BAKAPIFLAGS) bakapi.$(OBJ) gfx.lib $(DOSLIBLIBS) -fm=bakapi.mah
119 scroll.exe: scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
120 wcl $(FLAGS) scroll.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=scroll.mah
121 scroll.$(OBJ): $(SRC)scroll.c
122 wcl $(FLAGS) -c $(SRC)scroll.c
125 # NOTE: dos86h = 16-bit huge memory model. memory model must match!
126 tesuto.exe: tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
127 # %write tmp.cmd option quiet option max=tesuto.mah $(DOSLIB_LDFLAGS_DOS16H) file tesuto.obj name tesuto.exe
128 # %write tmp.cmd library $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib
129 # %write tmp.cmd library $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib
131 wcl $(FLAGS) $(WCLQ) tesuto.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
132 tesuto.$(OBJ): $(SRC)tesuto.c
133 wcl $(FLAGS) $(WCLQ) -c $(SRC)tesuto.c
135 0.exe: 0.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
136 wcl $(FLAGS) $(WCLQ) 0.$(OBJ) $(DOSLIBLIBS) 16_head.$(OBJ) gfx.lib
138 wcl $(FLAGS) $(WCLQ) -c $(SRC)0.c
140 test.exe: test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB)
141 wcl $(FLAGS) test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB) -fm=test.mah
143 test2.exe: test2.$(OBJ) $(DOSLIBLIBS) gfx.lib
144 wcl $(FLAGS) test2.$(OBJ) $(DOSLIBLIBS) gfx.lib -fm=test2.mah
146 test0.exe: test0.$(OBJ)
147 wcl $(FLAGS) test0.$(OBJ) -fm=test0.mah
149 fonttest.exe: fonttest.$(OBJ) $(16LIB) gfx.lib
150 wcl $(FLAGS) fonttest.$(OBJ) $(16LIB) gfx.lib -fm=fonttest.mah
152 #fonttes0.exe: fonttes0.$(OBJ) $(16LIB)
153 # wcl $(FLAGS) fonttes0.$(OBJ) $(16LIB)
155 fontgfx.exe: fontgfx.$(OBJ) $(16LIB) gfx.lib $(DOSLIBLIBS)
156 wcl $(FLAGS) fontgfx.$(OBJ) $(16LIB) gfx.lib $(DOSLIBLIBS) -fm=fontgfx.mah
158 inputest.exe: inputest.$(OBJ) $(16LIB)
159 wcl $(FLAGS) inputest.$(OBJ) $(16LIB) -fm=inputest.mah
161 #sountest.exe: sountest.$(OBJ) $(16LIB)
162 # wcl $(FLAGS) sountest.$(OBJ) $(16LIB)
164 pcxtest.exe: pcxtest.$(OBJ) gfx.lib
165 wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -fm=pcxtest.mah
167 palettec.exe: palettec.$(OBJ) gfx.lib #$(16LIB)
168 wcl $(FLAGS) palettec.$(OBJ) gfx.lib -fm=palettec.mah #$(16LIB)
170 palettel.exe: palettel.$(OBJ) gfx.lib #$(16LIB)
171 wcl $(FLAGS) palettel.$(OBJ) gfx.lib -fm=palettel.mah #$(16LIB)
173 pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib
174 wcl $(FLAGS) pcxtest2.$(OBJ) gfx.lib -fm=pcxtest2.mah
176 planrpcx.exe: planrpcx.$(OBJ) gfx.lib
177 wcl $(FLAGS) planrpcx.$(OBJ) gfx.lib -fm=planrpcx.mah
179 maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
180 wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=maptest.mah
182 fmemtest.exe: fmemtest.$(OBJ) $(16LIB)
183 wcl $(FLAGS) fmemtest.$(OBJ) $(16LIB) -fm=fmemtest.mah
185 exmmtest.exe: exmmtest.$(OBJ) $(16LIB)
186 wcl $(FLAGS) exmmtest.$(OBJ) -fm=exmmtest.mah $(16LIB)
188 vgmtest.exe: vgmtest.$(OBJ) vgmsnd.lib $(16LIB)
189 wcl $(FLAGS) vgmtest.$(OBJ) vgmsnd.lib -fm=vgmtest.mah $(16LIB)
190 #====wcl -mc vgmtest.$(OBJ) $(VGMSNDOBJ) -fm=vgmtest.mah
194 #executable's objects
196 16.$(OBJ): $(SRC)16.h $(SRC)16.c
197 wcl $(FLAGS) -c $(SRC)16.c
199 bakapi.$(OBJ): $(SRC)bakapi.h $(SRC)bakapi.c
200 wcl $(FLAGS) -c $(SRC)bakapi.c
202 test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h
203 wcl $(FLAGS) -c $(SRC)test.c
205 test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h
206 wcl $(FLAGS) -c $(SRC)test2.c
208 test0.$(OBJ): $(SRC)test0.c
209 wcl $(FLAGS) -c $(SRC)test0.c
211 pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h
212 wcl $(FLAGS) -c $(SRC)pcxtest.c
214 planrpcx.$(OBJ): $(SRC)planrpcx.c $(SRCLIB)modex16.h
215 wcl $(FLAGS) -c $(SRC)planrpcx.c
217 pcxtest2.$(OBJ): $(SRC)pcxtest2.c $(SRCLIB)modex16.h
218 wcl $(FLAGS) -c $(SRC)pcxtest2.c
220 palettec.$(OBJ): $(SRC)palettec.c
221 wcl $(FLAGS) -c $(SRC)palettec.c
223 palettel.$(OBJ): $(SRC)palettel.c
224 wcl $(FLAGS) -c $(SRC)palettel.c
226 maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h
227 wcl $(FLAGS) -c $(SRC)maptest.c
229 #maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h
230 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c
232 #emmtest.$(OBJ): $(SRC)emmtest.c
233 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c
235 #emsdump.$(OBJ): $(SRC)emsdump.c
236 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
238 fmemtest.$(OBJ): $(SRC)fmemtest.c
239 wcl $(FLAGS) -c $(SRC)fmemtest.c
241 fonttest.$(OBJ): $(SRC)fonttest.c
242 wcl $(FLAGS) -c $(SRC)fonttest.c
244 #fonttes0.$(OBJ): $(SRC)fonttes0.c
245 # wcl $(FLAGS) -c $(SRC)fonttes0.c
247 fontgfx.$(OBJ): $(SRC)fontgfx.c
248 wcl $(FLAGS) -c $(SRC)fontgfx.c
250 inputest.$(OBJ): $(SRC)inputest.c
251 wcl $(FLAGS) -c $(SRC)inputest.c
253 #sountest.$(OBJ): $(SRC)sountest.c
254 # wcl $(FLAGS) -c $(SRC)sountest.c
256 #miditest.$(OBJ): $(SRC)miditest.c
257 # wcl $(FLAGS) -c $(SRC)miditest.c
259 #testemm.$(OBJ): $(SRC)testemm.c
260 # wcl $(FLAGS) -c $(SRC)testemm.c
262 #testemm0.$(OBJ): $(SRC)testemm0.c
263 # wcl $(FLAGS) -c $(SRC)testemm0.c
265 tsthimem.$(OBJ): $(SRC)tsthimem.c
266 wcl $(FLAGS) -c $(SRC)tsthimem.c
268 exmmtest.$(OBJ): $(SRC)exmmtest.c
269 wcl $(FLAGS) -c $(SRC)exmmtest.c
271 vgmtest.$(OBJ): $(SRC)vgmtest.c
272 wcl $(FLAGS) -c $(SRC)vgmtest.c
273 #====wcl -mc -c $(SRC)vgmtest.c
276 #non executable objects libraries
278 16.lib: $(16LIBOBJS)# doslib.lib vgmsnd.lib
279 wlib -b $(WLIBQ) 16.lib $(16LIBOBJS)# doslib.lib vgmsnd.lib
281 gfx.lib: $(GFXLIBOBJS) 16_in.$(OBJ) 16_head.$(OBJ)
282 wlib -b $(WLIBQ) gfx.lib $(GFXLIBOBJS) 16_in.$(OBJ) 16_head.$(OBJ)
284 vgmsnd.lib: $(VGMSNDOBJ)
285 wlib -b $(WLIBQ) vgmsnd.lib $(VGMSNDOBJ)
288 # !include $(DOSLIBDIR)$(DIRSEP)extdep.mak
290 # library deps 16-bit huge
291 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib:
292 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu && .$(DIRSEP)make.sh
293 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib:
294 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos && .$(DIRSEP)make.sh
295 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vgatty.lib:
296 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
297 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib:
298 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
299 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250$(DIRSEP)dos86h$(DIRSEP)8250.lib:
300 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250 && .$(DIRSEP)make.sh
303 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)joystick && .$(DIRSEP)make.sh && $(COPYCOMMAND) dos86h$(DIRSEP)test.exe $(PDIR)$(PDIR)$(PDIR)$(PDIR)$(PDIR)joytest.exe
304 #$(DOSLIBLIBS): .symbolic
306 # @.$(DIRSEP)buildall.sh
307 # @cd $(PDIR)$(PDIR)$(PDIR)
309 modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c
310 wcl $(FLAGS) -c $(SRCLIB)modex16.c
312 bakapee.$(OBJ): $(SRCLIB)bakapee.h $(SRCLIB)bakapee.c
313 wcl $(FLAGS) -c $(SRCLIB)bakapee.c
315 16render.$(OBJ): $(MODEXLIB)16render.h $(MODEXLIB)16render.c
316 wcl $(FLAGS) -c $(MODEXLIB)16render.c
318 16planar.$(OBJ): $(MODEXLIB)16planar.h $(MODEXLIB)16planar.c
319 wcl $(FLAGS) -c $(MODEXLIB)16planar.c
321 bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c
322 wcl $(FLAGS) -c $(SRCLIB)bitmap.c
324 planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c
325 wcl $(FLAGS) -c $(SRCLIB)planar.c
327 scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c
328 wcl $(FLAGS) -c $(SRCLIB)scroll16.c
330 wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c
331 wcl $(FLAGS) -c $(WCPULIB)wcpu.c
333 16text.$(OBJ): $(SRCLIB)16text.c
334 wcl $(FLAGS) -c $(SRCLIB)16text.c
336 mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c
337 wcl $(FLAGS) -c $(SRCLIB)mapread.c
339 16_timer.$(OBJ): $(SRCLIB)16_timer.h $(SRCLIB)16_timer.c
340 wcl $(FLAGS) -c $(SRCLIB)16_timer.c
342 16_in.$(OBJ): $(SRCLIB)16_in.h $(SRCLIB)16_in.c
343 wcl $(FLAGS) -c $(SRCLIB)16_in.c
345 16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c
346 wcl $(FLAGS) -c $(SRCLIB)16_mm.c
348 16_ca.$(OBJ): $(SRCLIB)16_ca.h $(SRCLIB)16_ca.c
349 wcl $(FLAGS) -c $(SRCLIB)16_ca.c
351 16_dbg.$(OBJ): $(SRCLIB)16_dbg.h $(SRCLIB)16_dbg.c
352 wcl $(FLAGS) -c $(SRCLIB)16_dbg.c
354 midi.$(OBJ): $(SRCLIB)midi.h $(SRCLIB)midi.c
355 wcl $(FLAGS) -c $(SRCLIB)midi.c
357 16_head.$(OBJ): $(SRCLIB)16_head.h $(SRCLIB)16_head.c
358 wcl $(FLAGS) -c $(SRCLIB)16_head.c
360 16_hc.$(OBJ): $(SRCLIB)16_hc.h $(SRCLIB)16_hc.c
361 wcl $(FLAGS) -c $(SRCLIB)16_hc.c
363 16_snd.$(OBJ): $(SRCLIB)16_snd.h $(SRCLIB)16_snd.c
364 wcl $(FLAGS) -c $(SRCLIB)16_snd.c
365 #====wcl -mc -c $(SRCLIB)16_snd.c
367 jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c
368 wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
370 kitten.$(OBJ): $(NYANLIB)kitten.h $(NYANLIB)kitten.c
371 wcl $(FLAGS) -c $(NYANLIB)kitten.c
373 vgmSnd.$(OBJ): $(VGMSNDLIB)vgmSnd.h $(VGMSNDLIB)vgmSnd.c
374 wcl $(FLAGS) -c $(VGMSNDLIB)vgmSnd.c
375 #====wcl -c -mc $(VGMSNDLIB)vgmSnd.c
377 #memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c
378 # wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
380 c_utils.$(OBJ): $(MODEXLIB_)c_utils.asm
381 wcl -c $(AFLAGS) $(MODEXLIB_)c_utils.asm
382 modex.$(OBJ): $(MODEXLIB_)modex.asm
383 wcl -c $(AFLAGS) $(MODEXLIB_)modex.asm
389 @$(REMOVECOMMAND) $(EXEC)
390 @$(REMOVECOMMAND) /var/www/$(EXEC)*
391 @$(REMOVECOMMAND) *.$(OBJ)
392 @$(REMOVECOMMAND) 16.lib
393 @$(REMOVECOMMAND) gfx.lib
394 @$(REMOVECOMMAND) vgmsnd.lib
395 @wlib -n $(WLIBQ) 16.lib
396 @wlib -n $(WLIBQ) gfx.lib
397 @wlib -n $(WLIBQ) vgmsnd.lib
398 @$(REMOVECOMMAND) *.16
399 @$(REMOVECOMMAND) *.16W
400 @$(REMOVECOMMAND) *.16B
401 @$(REMOVECOMMAND) *.OBJ
402 @$(REMOVECOMMAND) *.o
403 @$(REMOVECOMMAND) *.BCO
404 @$(REMOVECOMMAND) makefi~1
405 @$(REMOVECOMMAND) makefile~
406 @$(REMOVECOMMAND) __wcl__.LNK
407 # @$(REMOVECOMMAND) *.smp
408 @$(REMOVECOMMAND) *.SMP
409 @$(REMOVECOMMAND) *.hed
410 @$(REMOVECOMMAND) *.MAH
411 @$(REMOVECOMMAND) *.mah
412 @$(REMOVECOMMAND) *.err
414 #@./buildall.sh clean
415 #@cd $(PDIR)$(PDIR)$(PDIR)
416 # @$(COPYCOMMAND) $(SRC)exmmtest.c $(EXMMTESTDIR)$(SRC)
417 # @$(COPYCOMMAND) $(SRCLIB)16_mm.* $(EXMMTESTDIR)$(SRCLIB)
418 # @$(COPYCOMMAND) $(SRCLIB)16_head.* $(EXMMTESTDIR)$(SRCLIB)
419 # @$(COPYCOMMAND) $(SRCLIB)16_ca.* $(EXMMTESTDIR)$(SRCLIB)
420 # @$(COPYCOMMAND) $(SRCLIB)16_hc.* $(EXMMTESTDIR)$(SRCLIB)
421 # @$(COPYCOMMAND) $(SRCLIB)types.h $(EXMMTESTDIR)$(SRCLIB)
422 # @$(COPYCOMMAND) $(NYANLIB)* $(EXMMTESTDIR)$(NYANLIB)
426 backupconfig: .symbolic
427 @$(COPYCOMMAND) .git$(DIRSEP)config git_con.fig
428 @$(COPYCOMMAND) .gitmodules git_modu.les
429 @$(COPYCOMMAND) .gitignore git_igno.re
435 @upx -9 $(UPXQ) $(EXEC)
438 @ssh -p 26 sparky4@4ch.mooo.com 'rm -f /var/www/16/*exe.zip*'
439 @rm -f /var/www/*.exe.zip*
440 #@cp ./$(EXEC) $(DIRSEP)var$(DIRSEP)www$(DIRSEP)
441 @./z.sh $(EXEC) $(EXEC)
442 @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/
443 @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/
449 ## External library management~ ^^
451 #git submodule add <repo>
455 @cd $(PDIR)$(PDIR)$(PDIR)
460 @cd $(PDIR)$(PDIR)$(PDIR)
463 @cd $(PDIR)$(PDIR)$(PDIR)
465 reinitlibs: .symbolic
466 @rm -rf $(SRCLIB)doslib
467 @rm -rf $(SRCLIB)jsmn
468 @rm -rf 16/CatacombApocalypse
474 @cp git_con.fig .git/config
475 @cp git_modu.les .gitmodules
476 @cp git_igno.re .gitignore
478 @git clone https://github.com/joncampbell123/doslib.git
479 @git clone https://github.com/zserge/jsmn.git
482 @git clone https://github.com/FlatRockSoft/CatacombApocalypse.git
483 @git clone https://github.com/id-Software/wolf3d.git
484 @git clone https://github.com/keendreams/keen.git
504 @wmake -h -f makefile all
508 @cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga
511 @mv pcx2vrl ../../../../../
512 @mv pcxsscut ../../../../../
513 @mv vrl2vrs ../../../../../
514 @mv vrsdump ../../../../../