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
101 all: $(EXEC) joytest.exe vrs
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 test.exe: test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB)
136 wcl $(FLAGS) test.$(OBJ) gfx.lib 16_in.$(OBJ) 16_head.$(OBJ) $(DOSLIBLIBS) $(16LIB) -fm=test.mah
138 test2.exe: test2.$(OBJ) $(DOSLIBLIBS) gfx.lib
139 wcl $(FLAGS) test2.$(OBJ) $(DOSLIBLIBS) gfx.lib -fm=test2.mah
141 test0.exe: test0.$(OBJ)
142 wcl $(FLAGS) test0.$(OBJ) -fm=test0.mah
144 fonttest.exe: fonttest.$(OBJ) $(16LIB) gfx.lib
145 wcl $(FLAGS) fonttest.$(OBJ) $(16LIB) gfx.lib -fm=fonttest.mah
147 #fonttes0.exe: fonttes0.$(OBJ) $(16LIB)
148 # wcl $(FLAGS) fonttes0.$(OBJ) $(16LIB)
150 fontgfx.exe: fontgfx.$(OBJ) $(16LIB) gfx.lib $(DOSLIBLIBS)
151 wcl $(FLAGS) fontgfx.$(OBJ) $(16LIB) gfx.lib $(DOSLIBLIBS) -fm=fontgfx.mah
153 inputest.exe: inputest.$(OBJ) $(16LIB)
154 wcl $(FLAGS) inputest.$(OBJ) $(16LIB) -fm=inputest.mah
156 #sountest.exe: sountest.$(OBJ) $(16LIB)
157 # wcl $(FLAGS) sountest.$(OBJ) $(16LIB)
159 pcxtest.exe: pcxtest.$(OBJ) gfx.lib
160 wcl $(FLAGS) pcxtest.$(OBJ) gfx.lib -fm=pcxtest.mah
162 palettec.exe: palettec.$(OBJ) gfx.lib #$(16LIB)
163 wcl $(FLAGS) palettec.$(OBJ) gfx.lib -fm=palettec.mah #$(16LIB)
165 palettel.exe: palettel.$(OBJ) gfx.lib #$(16LIB)
166 wcl $(FLAGS) palettel.$(OBJ) gfx.lib -fm=palettel.mah #$(16LIB)
168 pcxtest2.exe: pcxtest2.$(OBJ) gfx.lib
169 wcl $(FLAGS) pcxtest2.$(OBJ) gfx.lib -fm=pcxtest2.mah
171 planrpcx.exe: planrpcx.$(OBJ) gfx.lib
172 wcl $(FLAGS) planrpcx.$(OBJ) gfx.lib -fm=planrpcx.mah
174 maptest.exe: maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib
175 wcl $(FLAGS) maptest.$(OBJ) mapread.$(OBJ) jsmn.$(OBJ) $(16LIB) gfx.lib -fm=maptest.mah
177 fmemtest.exe: fmemtest.$(OBJ) $(16LIB)
178 wcl $(FLAGS) fmemtest.$(OBJ) $(16LIB) -fm=fmemtest.mah
180 exmmtest.exe: exmmtest.$(OBJ) $(16LIB)
181 wcl $(FLAGS) exmmtest.$(OBJ) -fm=exmmtest.mah $(16LIB)
183 vgmtest.exe: vgmtest.$(OBJ) vgmsnd.lib $(16LIB)
184 wcl $(FLAGS) vgmtest.$(OBJ) vgmsnd.lib -fm=vgmtest.mah $(16LIB)
185 #====wcl -mc vgmtest.$(OBJ) $(VGMSNDOBJ) -fm=vgmtest.mah
189 #executable's objects
191 16.$(OBJ): $(SRC)16.h $(SRC)16.c
192 wcl $(FLAGS) -c $(SRC)16.c
194 bakapi.$(OBJ): $(SRC)bakapi.h $(SRC)bakapi.c
195 wcl $(FLAGS) -c $(SRC)bakapi.c
197 test.$(OBJ): $(SRC)test.c $(SRCLIB)modex16.h
198 wcl $(FLAGS) -c $(SRC)test.c
200 test2.$(OBJ): $(SRC)test2.c $(SRCLIB)modex16.h
201 wcl $(FLAGS) -c $(SRC)test2.c
203 test0.$(OBJ): $(SRC)test0.c
204 wcl $(FLAGS) -c $(SRC)test0.c
206 pcxtest.$(OBJ): $(SRC)pcxtest.c $(SRCLIB)modex16.h
207 wcl $(FLAGS) -c $(SRC)pcxtest.c
209 planrpcx.$(OBJ): $(SRC)planrpcx.c $(SRCLIB)modex16.h
210 wcl $(FLAGS) -c $(SRC)planrpcx.c
212 pcxtest2.$(OBJ): $(SRC)pcxtest2.c $(SRCLIB)modex16.h
213 wcl $(FLAGS) -c $(SRC)pcxtest2.c
215 palettec.$(OBJ): $(SRC)palettec.c
216 wcl $(FLAGS) -c $(SRC)palettec.c
218 palettel.$(OBJ): $(SRC)palettel.c
219 wcl $(FLAGS) -c $(SRC)palettel.c
221 maptest.$(OBJ): $(SRC)maptest.c $(SRCLIB)modex16.h
222 wcl $(FLAGS) -c $(SRC)maptest.c
224 #maptest0.$(OBJ): $(SRC)maptest0.c# $(SRCLIB)modex16.h
225 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)maptest0.c
227 #emmtest.$(OBJ): $(SRC)emmtest.c
228 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)emmtest.c
230 #emsdump.$(OBJ): $(SRC)emsdump.c
231 # wcl $(FLAGS) $(MFLAGS) -c $(SRC)emsdump.c
233 fmemtest.$(OBJ): $(SRC)fmemtest.c
234 wcl $(FLAGS) -c $(SRC)fmemtest.c
236 fonttest.$(OBJ): $(SRC)fonttest.c
237 wcl $(FLAGS) -c $(SRC)fonttest.c
239 #fonttes0.$(OBJ): $(SRC)fonttes0.c
240 # wcl $(FLAGS) -c $(SRC)fonttes0.c
242 fontgfx.$(OBJ): $(SRC)fontgfx.c
243 wcl $(FLAGS) -c $(SRC)fontgfx.c
245 inputest.$(OBJ): $(SRC)inputest.c
246 wcl $(FLAGS) -c $(SRC)inputest.c
248 #sountest.$(OBJ): $(SRC)sountest.c
249 # wcl $(FLAGS) -c $(SRC)sountest.c
251 #miditest.$(OBJ): $(SRC)miditest.c
252 # wcl $(FLAGS) -c $(SRC)miditest.c
254 #testemm.$(OBJ): $(SRC)testemm.c
255 # wcl $(FLAGS) -c $(SRC)testemm.c
257 #testemm0.$(OBJ): $(SRC)testemm0.c
258 # wcl $(FLAGS) -c $(SRC)testemm0.c
260 tsthimem.$(OBJ): $(SRC)tsthimem.c
261 wcl $(FLAGS) -c $(SRC)tsthimem.c
263 exmmtest.$(OBJ): $(SRC)exmmtest.c
264 wcl $(FLAGS) -c $(SRC)exmmtest.c
266 vgmtest.$(OBJ): $(SRC)vgmtest.c
267 wcl $(FLAGS) -c $(SRC)vgmtest.c
268 #====wcl -mc -c $(SRC)vgmtest.c
271 #non executable objects libraries
273 16.lib: $(16LIBOBJS)# doslib.lib vgmsnd.lib
274 wlib -b $(WLIBQ) 16.lib $(16LIBOBJS)# doslib.lib vgmsnd.lib
276 gfx.lib: $(GFXLIBOBJS) 16_in.$(OBJ) 16_head.$(OBJ)
277 wlib -b $(WLIBQ) gfx.lib $(GFXLIBOBJS) 16_in.$(OBJ) 16_head.$(OBJ)
279 vgmsnd.lib: $(VGMSNDOBJ)
280 wlib -b $(WLIBQ) vgmsnd.lib $(VGMSNDOBJ)
283 # !include $(DOSLIBDIR)$(DIRSEP)extdep.mak
285 # library deps 16-bit huge
286 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu$(DIRSEP)dos86h$(DIRSEP)cpu.lib:
287 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)cpu && .$(DIRSEP)make.sh
288 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos$(DIRSEP)dos86h$(DIRSEP)dos.lib:
289 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos && .$(DIRSEP)make.sh
290 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vgatty.lib:
291 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
292 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib:
293 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
294 $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250$(DIRSEP)dos86h$(DIRSEP)8250.lib:
295 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)8250 && .$(DIRSEP)make.sh
298 cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)joystick && .$(DIRSEP)make.sh && $(COPYCOMMAND) dos86h$(DIRSEP)test.exe $(PDIR)$(PDIR)$(PDIR)$(PDIR)$(PDIR)joytest.exe
299 #$(DOSLIBLIBS): .symbolic
301 # @.$(DIRSEP)buildall.sh
302 # @cd $(PDIR)$(PDIR)$(PDIR)
304 modex16.$(OBJ): $(SRCLIB)modex16.h $(SRCLIB)modex16.c
305 wcl $(FLAGS) -c $(SRCLIB)modex16.c
307 bakapee.$(OBJ): $(SRCLIB)bakapee.h $(SRCLIB)bakapee.c
308 wcl $(FLAGS) -c $(SRCLIB)bakapee.c
310 16render.$(OBJ): $(MODEXLIB)16render.h $(MODEXLIB)16render.c
311 wcl $(FLAGS) -c $(MODEXLIB)16render.c
313 16planar.$(OBJ): $(MODEXLIB)16planar.h $(MODEXLIB)16planar.c
314 wcl $(FLAGS) -c $(MODEXLIB)16planar.c
316 bitmap.$(OBJ): $(SRCLIB)bitmap.h $(SRCLIB)bitmap.c
317 wcl $(FLAGS) -c $(SRCLIB)bitmap.c
319 planar.$(OBJ): $(SRCLIB)planar.h $(SRCLIB)planar.c
320 wcl $(FLAGS) -c $(SRCLIB)planar.c
322 scroll16.$(OBJ): $(SRCLIB)scroll16.h $(SRCLIB)scroll16.c
323 wcl $(FLAGS) -c $(SRCLIB)scroll16.c
325 wcpu.$(OBJ): $(WCPULIB)wcpu.h $(WCPULIB)wcpu.c
326 wcl $(FLAGS) -c $(WCPULIB)wcpu.c
328 16text.$(OBJ): $(SRCLIB)16text.c
329 wcl $(FLAGS) -c $(SRCLIB)16text.c
331 mapread.$(OBJ): $(SRCLIB)mapread.h $(SRCLIB)mapread.c
332 wcl $(FLAGS) -c $(SRCLIB)mapread.c
334 16_timer.$(OBJ): $(SRCLIB)16_timer.h $(SRCLIB)16_timer.c
335 wcl $(FLAGS) -c $(SRCLIB)16_timer.c
337 16_in.$(OBJ): $(SRCLIB)16_in.h $(SRCLIB)16_in.c
338 wcl $(FLAGS) -c $(SRCLIB)16_in.c
340 16_mm.$(OBJ): $(SRCLIB)16_mm.h $(SRCLIB)16_mm.c
341 wcl $(FLAGS) -c $(SRCLIB)16_mm.c
343 16_ca.$(OBJ): $(SRCLIB)16_ca.h $(SRCLIB)16_ca.c
344 wcl $(FLAGS) -c $(SRCLIB)16_ca.c
346 16_dbg.$(OBJ): $(SRCLIB)16_dbg.h $(SRCLIB)16_dbg.c
347 wcl $(FLAGS) -c $(SRCLIB)16_dbg.c
349 midi.$(OBJ): $(SRCLIB)midi.h $(SRCLIB)midi.c
350 wcl $(FLAGS) -c $(SRCLIB)midi.c
352 16_head.$(OBJ): $(SRCLIB)16_head.h $(SRCLIB)16_head.c
353 wcl $(FLAGS) -c $(SRCLIB)16_head.c
355 16_hc.$(OBJ): $(SRCLIB)16_hc.h $(SRCLIB)16_hc.c
356 wcl $(FLAGS) -c $(SRCLIB)16_hc.c
358 16_snd.$(OBJ): $(SRCLIB)16_snd.h $(SRCLIB)16_snd.c
359 wcl $(FLAGS) -c $(SRCLIB)16_snd.c
360 #====wcl -mc -c $(SRCLIB)16_snd.c
362 jsmn.$(OBJ): $(JSMNLIB)jsmn.h $(JSMNLIB)jsmn.c
363 wcl $(FLAGS) -c $(JSMNLIB)jsmn.c
365 kitten.$(OBJ): $(NYANLIB)kitten.h $(NYANLIB)kitten.c
366 wcl $(FLAGS) -c $(NYANLIB)kitten.c
368 vgmSnd.$(OBJ): $(VGMSNDLIB)vgmSnd.h $(VGMSNDLIB)vgmSnd.c
369 wcl $(FLAGS) -c $(VGMSNDLIB)vgmSnd.c
370 #====wcl -c -mc $(VGMSNDLIB)vgmSnd.c
372 #memory.$(OBJ): $(EXMMLIB)memory.h $(EXMMLIB)memory.c
373 # wcl $(FLAGS) $(MFLAGS) -c $(EXMMLIB)memory.c
375 c_utils.$(OBJ): $(MODEXLIB_)c_utils.asm
376 wcl -c $(AFLAGS) $(MODEXLIB_)c_utils.asm
377 modex.$(OBJ): $(MODEXLIB_)modex.asm
378 wcl -c $(AFLAGS) $(MODEXLIB_)modex.asm
384 @$(REMOVECOMMAND) $(EXEC)
385 @$(REMOVECOMMAND) /var/www/$(EXEC)*
386 @$(REMOVECOMMAND) *.$(OBJ)
387 @$(REMOVECOMMAND) 16.lib
388 @$(REMOVECOMMAND) gfx.lib
389 @$(REMOVECOMMAND) vgmsnd.lib
390 @wlib -n $(WLIBQ) 16.lib
391 @wlib -n $(WLIBQ) gfx.lib
392 @wlib -n $(WLIBQ) vgmsnd.lib
393 @$(REMOVECOMMAND) *.16
394 @$(REMOVECOMMAND) *.16W
395 @$(REMOVECOMMAND) *.16B
396 @$(REMOVECOMMAND) *.OBJ
397 @$(REMOVECOMMAND) *.o
398 @$(REMOVECOMMAND) *.BCO
399 @$(REMOVECOMMAND) makefi~1
400 @$(REMOVECOMMAND) makefile~
401 @$(REMOVECOMMAND) __wcl__.LNK
402 # @$(REMOVECOMMAND) *.smp
403 @$(REMOVECOMMAND) *.SMP
404 @$(REMOVECOMMAND) *.hed
405 @$(REMOVECOMMAND) *.MAH
406 @$(REMOVECOMMAND) *.mah
407 @$(REMOVECOMMAND) *.err
409 #@./buildall.sh clean
410 #@cd $(PDIR)$(PDIR)$(PDIR)
411 # @$(COPYCOMMAND) $(SRC)exmmtest.c $(EXMMTESTDIR)$(SRC)
412 # @$(COPYCOMMAND) $(SRCLIB)16_mm.* $(EXMMTESTDIR)$(SRCLIB)
413 # @$(COPYCOMMAND) $(SRCLIB)16_head.* $(EXMMTESTDIR)$(SRCLIB)
414 # @$(COPYCOMMAND) $(SRCLIB)16_ca.* $(EXMMTESTDIR)$(SRCLIB)
415 # @$(COPYCOMMAND) $(SRCLIB)16_hc.* $(EXMMTESTDIR)$(SRCLIB)
416 # @$(COPYCOMMAND) $(SRCLIB)types.h $(EXMMTESTDIR)$(SRCLIB)
417 # @$(COPYCOMMAND) $(NYANLIB)* $(EXMMTESTDIR)$(NYANLIB)
421 backupconfig: .symbolic
422 @$(COPYCOMMAND) .git$(DIRSEP)config git_con.fig
423 @$(COPYCOMMAND) .gitmodules git_modu.les
429 @upx -9 $(UPXQ) $(EXEC)
432 @ssh -p 26 sparky4@4ch.mooo.com 'rm -f /var/www/16/*exe.zip*'
433 @rm -f /var/www/*.exe.zip*
434 #@cp ./$(EXEC) $(DIRSEP)var$(DIRSEP)www$(DIRSEP)
435 @./z.sh $(EXEC) $(EXEC)
436 @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/
437 @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/
443 ## External library management~ ^^
445 #git submodule add <repo>
449 @cd $(PDIR)$(PDIR)$(PDIR)
454 @cd $(PDIR)$(PDIR)$(PDIR)
457 @cd $(PDIR)$(PDIR)$(PDIR)
459 reinitlibs: .symbolic
460 @rm -rf $(SRCLIB)doslib
461 @rm -rf $(SRCLIB)jsmn
462 @rm -rf 16/CatacombApocalypse
467 @cp git_con.fig .git/config
468 @cp git_modu.les .gitmodules
470 @git clone https://github.com/joncampbell123/doslib.git
471 @git clone https://github.com/zserge/jsmn.git
474 @git clone https://github.com/FlatRockSoft/CatacombApocalypse.git
475 @git clone https://github.com/id-Software/wolf3d.git
495 @wmake -h -f makefile all
499 @cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga
502 @mv pcx2vrl ../../../../../
503 @mv pcxsscut ../../../../../
504 @mv vrl2vrs ../../../../../
505 @mv vrsdump ../../../../../