2015-02-21 10:23:03 +00:00
|
|
|
# ReC98
|
|
|
|
# -----
|
|
|
|
# Makefile for the 16-bit part of the build process
|
|
|
|
|
2021-01-27 15:38:11 +00:00
|
|
|
CFLAGS = -ls -I. -Lbin\ -O -b-
|
2020-05-11 20:34:20 +00:00
|
|
|
AFLAGS = /m /ml
|
2015-02-21 10:23:03 +00:00
|
|
|
|
2021-02-17 20:02:26 +00:00
|
|
|
# Currently, it only makes sense to enable extended dictionary processing for
|
|
|
|
# binaries that don't link the original binary release of MASTERS.LIB, which
|
|
|
|
# doesn't come with them.
|
|
|
|
LARGE_LFLAGS = -ml -lE
|
|
|
|
|
2020-03-06 21:19:44 +00:00
|
|
|
PIPELINE = \grzview.com
|
2015-02-21 10:23:03 +00:00
|
|
|
TH01 = \zunsoft.com \op.exe \reiiden.exe \fuuin.exe
|
2018-04-14 17:08:22 +00:00
|
|
|
TH02 = \zuninit.com \zun_res.com \op.exe \main.exe \maine.exe \zun.com
|
|
|
|
TH03 = \zunsp.com \res_yume.com \op.exe \main.exe \mainl.exe \zun.com
|
2020-09-14 20:29:27 +00:00
|
|
|
TH04 = \zuninit.com \memchk.com \res_huma.com \op.exe \main.exe \maine.exe \zun.com
|
|
|
|
TH05 = \zuninit.com \memchk.com \gjinit.com \res_kso.com \op.exe \main.exe \maine.exe \zun.com
|
2015-02-21 10:23:03 +00:00
|
|
|
|
2020-03-06 21:19:44 +00:00
|
|
|
all: pipeline th01 th02 th03 th04 th05
|
2015-02-21 10:23:03 +00:00
|
|
|
@echo Done. Find the executables in the bin\ subdirectory.
|
|
|
|
|
2020-03-06 21:19:44 +00:00
|
|
|
pipeline:: $(PIPELINE:\=bin\Pipeline\)
|
2015-02-21 10:23:03 +00:00
|
|
|
th01:: $(TH01:\=bin\th01\)
|
|
|
|
th02:: $(TH02:\=bin\th02\)
|
|
|
|
th03:: $(TH03:\=bin\th03\)
|
|
|
|
th04:: $(TH04:\=bin\th04\)
|
|
|
|
th05:: $(TH05:\=bin\th05\)
|
|
|
|
|
|
|
|
.obj.com:
|
|
|
|
tlink /t /3 $**
|
|
|
|
|
2020-03-06 21:19:44 +00:00
|
|
|
bin\Pipeline\grzview.com: Pipeline\grzview.cpp th01\formats\grz.cpp
|
2021-01-01 14:40:28 +00:00
|
|
|
$(CC) $(CFLAGS) -Z -DGAME=1 -mt -lt -nbin\Pipeline\ @&&|
|
|
|
|
$**
|
|
|
|
| masters.lib
|
2020-03-06 21:19:44 +00:00
|
|
|
|
2021-01-25 12:21:59 +00:00
|
|
|
bin\th01\zunsoft.com: th01\zunsoft.cpp
|
2020-11-01 19:09:18 +00:00
|
|
|
$(CC) $(CFLAGS) -mt -lt -DGAME=1 -nbin\th01\ $** masters.lib
|
2015-02-21 13:13:58 +00:00
|
|
|
|
2020-11-04 13:47:52 +00:00
|
|
|
{th01}.c{bin\th01}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=1 -n$(@D) -c $**
|
|
|
|
{th01}.cpp{bin\th01}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=1 -n$(@D) -c $**
|
|
|
|
|
2021-05-16 18:28:13 +00:00
|
|
|
bin\th01\op.exe: bin\piloadc.obj bin\th01\op.obj th01\op_01.cpp bin\th01\frmdelay.obj bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\ptn_0to1.obj bin\th01\vplanset.obj th01\op_07.cpp bin\th01\grppffx.obj bin\th01\ptn.obj th01\op_09.cpp bin\th01\grz.obj bin\th01\resstuff.obj bin\th01\mdrv2.obj th01\op_12.cpp
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=1 -DBINARY='O' -nbin\th01\ -eOP.EXE @&&|
|
2015-03-07 16:35:30 +00:00
|
|
|
$**
|
|
|
|
|
|
2015-02-21 19:45:02 +00:00
|
|
|
|
2022-01-23 17:29:51 +00:00
|
|
|
bin\th01\reiiden.exe: bin\piloadc.obj bin\th01\reiiden.obj th01\main_010.cpp th01\main_011.cpp th01\main_012.cpp bin\th01\frmdelay.obj bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\ptn_0to1.obj bin\th01\vplanset.obj th01\main_07.cpp bin\th01\ptn.obj th01\main_08.cpp bin\th01\grz.obj th01\main_09.cpp th01\grpinv32.cpp bin\th01\resstuff.obj th01\main_13.cpp th01\main_13_.cpp th01\main_14.cpp th01\main_15.cpp bin\th01\mdrv2.obj th01\main_17.cpp th01\main_19.cpp th01\main_20.cpp th01\main_21.cpp th01\main_23.cpp th01\main_24.cpp th01\main_25.cpp th01\main_26.cpp th01\main_27.cpp th01\main_29.cpp th01\main_30.cpp th01\main_31.cpp th01\main_32.cpp th01\main_32_.cpp th01\main_33.cpp th01\main_34.cpp th01\main_35.cpp th01\main_36.cpp th01\main_37.cpp th01\main_38.cpp
|
2021-08-16 20:18:59 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -d -DGAME=1 -DBINARY='M' -nbin\th01\ -eREIIDEN.EXE @&&|
|
2015-03-07 16:35:30 +00:00
|
|
|
$**
|
|
|
|
|
|
2015-02-21 19:45:02 +00:00
|
|
|
|
2021-04-12 14:15:58 +00:00
|
|
|
bin\th01\fuuin.exe: bin\piloadc.obj bin\th01\fuuin.obj th01\fuuin_01.cpp th01\fuuin_02.cpp th01\fuuin_04.cpp bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\grppffx.obj th01\fuuin_10.cpp bin\th01\vplanset.obj th01\fuuin_11.cpp th01\fuuin_12.cpp bin\th01\mdrv2.obj
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=1 -DBINARY='E' -nbin\th01\ -eFUUIN.EXE @&&|
|
2015-02-27 22:11:47 +00:00
|
|
|
$**
|
|
|
|
|
|
2015-02-21 19:45:02 +00:00
|
|
|
|
2020-09-06 18:49:20 +00:00
|
|
|
{th02}.c{bin\th02}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=2 -n$(@D) -c $**
|
|
|
|
{th02}.cpp{bin\th02}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=2 -n$(@D) -c $**
|
|
|
|
|
2021-02-01 07:12:52 +00:00
|
|
|
bin\th02\zun_res.com: th02\zun_res1.cpp th02\zun_res2.c th02\zun_res3.c
|
2020-02-18 18:46:34 +00:00
|
|
|
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=2 -nbin\th02\ -eZUN_RES.COM @&&|
|
2015-09-16 03:02:29 +00:00
|
|
|
$**
|
|
|
|
| masters.lib
|
|
|
|
|
2022-03-12 22:11:04 +00:00
|
|
|
bin\th02\op.exe: th02\op_01.cpp bin\th02\exit_dos.obj bin\th02\zunerror.obj bin\th02\grppsafx.obj bin\th02\op.obj bin\th01\vplanset.obj bin\th02\pi_load.obj bin\th02\grp_rect.obj bin\th02\frmdely2.obj bin\th02\input_s.obj bin\th02\initop.obj bin\th02\exit.obj bin\th02\snd_mmdr.obj bin\th02\snd_mode.obj bin\th02\snd_pmdr.obj bin\th02\snd_load.obj bin\th02\pi_put.obj bin\th02\snd_kaja.obj th02\op_02_3.cpp bin\th02\snd_se_r.obj bin\th02\snd_se.obj bin\th02\frmdely1.obj th02\op_03.cpp bin\th02\globals.obj th02\op_04.cpp th02\op_05.cpp th02\op_06.cpp
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -Z -DGAME=2 -nbin\th02\ -eOP.EXE @&&|
|
2015-02-25 22:05:20 +00:00
|
|
|
$**
|
|
|
|
|
|
2015-02-28 21:37:40 +00:00
|
|
|
|
2021-10-19 20:48:32 +00:00
|
|
|
bin\th02\main.exe: bin\th02\main.obj bin\th02\zunerror.obj bin\th02\keydelay.obj th02\main02_1.cpp bin\th01\vplanset.obj bin\th02\pi_load.obj bin\th02\vector2.obj bin\th02\frmdely1.obj bin\th02\input_s.obj bin\th02\exit.obj bin\th02\snd_mmdr.obj bin\th02\snd_mode.obj bin\th02\snd_pmdr.obj bin\th02\snd_dlyv.obj bin\th02\snd_load.obj th02\mpn_l_i.cpp bin\th02\initmain.obj bin\th02\pi_put.obj bin\th02\snd_kaja.obj bin\th02\snd_dlym.obj bin\th02\snd_se_r.obj bin\th02\snd_se.obj th02\main_03.cpp
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -Z -DGAME=2 -nbin\th02\ -eMAIN.EXE @&&|
|
2015-03-04 01:39:36 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2022-03-12 22:11:04 +00:00
|
|
|
bin\th02\maine.exe: bin\th02\ranks_c.obj bin\th02\maine.obj bin\th02\grppsafx.obj bin\th02\keydelay.obj bin\th01\vplanset.obj bin\th02\pi_load.obj bin\th02\frmdely1.obj th02\maine022.cpp bin\th02\input_s.obj bin\th02\exit.obj bin\th02\snd_mmdr.obj bin\th02\snd_mode.obj bin\th02\snd_pmdr.obj bin\th02\snd_load.obj bin\th02\initmain.obj bin\th02\pi_put.obj bin\th02\snd_kaja.obj bin\th02\snd_dlym.obj bin\th02\globals.obj th02\maine_03.c th02\maine_04.cpp th02\maine_05.cpp
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=2 -nbin\th02\ -eMAINE.EXE @&&|
|
2015-02-28 21:37:40 +00:00
|
|
|
$**
|
|
|
|
|
|
2015-03-03 09:20:20 +00:00
|
|
|
|
2021-03-03 16:48:45 +00:00
|
|
|
{th03}.c{bin\th03}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=3 -n$(@D) -c $**
|
2020-09-06 19:55:48 +00:00
|
|
|
{th03}.cpp{bin\th03}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=3 -n$(@D) -c $**
|
|
|
|
|
2020-02-21 16:22:58 +00:00
|
|
|
bin\th03\res_yume.com: th03\res_yume.cpp
|
|
|
|
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=3 -nbin\th03\ -eRES_YUME.COM @&&|
|
|
|
|
$**
|
|
|
|
| masters.lib
|
|
|
|
|
2021-12-25 18:35:50 +00:00
|
|
|
bin\th03\op.exe: th03\op_01.cpp th03\op_02.cpp bin\th03\scoredat.obj th03\op_03.cpp bin\th03\op.obj bin\th02\exit_dos.obj bin\th01\vplanset.obj bin\th02\snd_mode.obj bin\th02\snd_pmdr.obj bin\th02\snd_load.obj bin\th03\exit.obj bin\th03\vector1.obj bin\th03\cdg_put.obj bin\th02\frmdely1.obj bin\th03\input_s.obj bin\th03\pi_put.obj bin\th03\snd_kaja.obj bin\th03\initop.obj bin\th03\cdg_load.obj bin\th03\grppsafx.obj bin\th03\pi_load.obj bin\th03\inp_m_w.obj bin\th03\cdg_p_na.obj bin\th03\hfliplut.obj bin\th02\frmdely2.obj
|
2021-12-25 14:53:17 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=3 -DBINARY='O' -nbin\th03\ -eOP.EXE @&&|
|
[Decompilation] [th03] Sprite display calls
Yes, decompilation, of something that was so obviously originally
written in ASM. We're still left with two un-decompilable instructions
here, but I'm amazed at how nicely I was able to abstract away all of
the gory register details, leading to pretty clear, readable, and dare
I say *portable* code?! Turbo C++ was once again pretty helpful here:
• `static_cast<char>(_BX) = _AL` actually compiles into `MOV BL, AL`,
as you would have intended,
• and no-op assignments like _DI = _DI are optimized away, allowing
us to leave them in for clarity, so that we can have all parameter
assignments for the SPRITE16 display call in a single place.
I love this compiler.
Part of P0060, funded by Touhou Patch Center.
2019-11-22 21:25:41 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2022-02-15 13:19:07 +00:00
|
|
|
bin\th03\main.exe: bin\th03\main.obj th03\main_010.cpp th03\main_011.cpp bin\th03\cfg_lres.obj bin\th01\vplanset.obj bin\th02\snd_mode.obj bin\th02\snd_pmdr.obj bin\th03\vector2.obj bin\th03\exit.obj bin\th03\vector1.obj bin\th02\frmdely1.obj bin\th03\input_s.obj bin\th02\snd_se_r.obj bin\th03\snd_se.obj bin\th03\snd_kaja.obj bin\th03\initmain.obj bin\th03\pi_load.obj bin\th03\inp_m_w.obj bin\th03\collmap.obj bin\th03\hfliplut.obj th03\mrs.cpp th03\sprite16.cpp
|
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=3 -nbin\th03\ -eMAIN.EXE @&&|
|
2015-03-03 09:20:20 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2021-12-25 14:53:17 +00:00
|
|
|
bin\th03\mainl.exe: bin\th03\mainl.obj bin\th03\cfg_lres.obj bin\th03\scoredat.obj th03\regist.cpp bin\th01\vplanset.obj bin\th02\snd_mode.obj bin\th02\snd_pmdr.obj bin\th02\snd_dlyv.obj bin\th02\snd_load.obj bin\th03\vector2.obj bin\th03\exit.obj bin\th03\cdg_put.obj bin\th02\frmdely1.obj bin\th03\input_s.obj bin\th03\pi_put.obj bin\th03\pi_put_i.obj bin\th02\snd_se_r.obj bin\th03\snd_se.obj bin\th03\snd_kaja.obj bin\th03\initmain.obj bin\th03\cdg_load.obj th03\exitmain.cpp bin\th03\grppsafx.obj bin\th03\snd_dlym.obj bin\th03\inp_wait.obj bin\th03\pi_load.obj bin\th03\pi_put_q.obj bin\th03\inp_m_w.obj bin\th03\cdg_p_na.obj bin\th03\hfliplut.obj
|
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=3 -DBINARY='L' -nbin\th03\ -eMAINL.EXE @&&|
|
2020-09-05 17:03:48 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2021-03-08 18:27:29 +00:00
|
|
|
{th04}.c{bin\th04}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=4 -n$(@D) -c $**
|
2020-11-06 14:25:02 +00:00
|
|
|
{th04}.cpp{bin\th04}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=4 -n$(@D) -c $**
|
|
|
|
|
2020-09-14 15:59:20 +00:00
|
|
|
bin\th04\memchk.com: bin\th04\memchk.obj
|
|
|
|
$(CC) $(CFLAGS) -mt -lt $**
|
|
|
|
|
2020-02-22 17:47:52 +00:00
|
|
|
bin\th04\res_huma.com: th04\res_huma.cpp
|
|
|
|
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=4 -nbin\th04\ -eRES_HUMA.COM @&&|
|
|
|
|
$**
|
|
|
|
| masters.lib
|
|
|
|
|
2021-10-19 20:48:32 +00:00
|
|
|
bin\th04\op.exe: bin\th04\op.obj th04\m_char.cpp bin\th01\vplanset.obj bin\th02\frmdely1.obj bin\th03\pi_put.obj bin\th03\pi_load.obj bin\th03\hfliplut.obj bin\th04\input_w.obj bin\th04\vector.obj bin\th04\snd_pmdr.obj bin\th04\snd_mmdr.obj bin\th04\snd_kaja.obj bin\th04\cdg_p_nc.obj bin\th04\snd_mode.obj bin\th04\snd_dlym.obj bin\th02\exit_dos.obj bin\th04\snd_load.obj bin\th04\cdg_put.obj bin\th04\exit.obj bin\th04\initop.obj bin\th04\cdg_p_na.obj bin\th04\input_s.obj bin\th04\snd_se_r.obj bin\th04\snd_se.obj bin\th04\egcrect.obj bin\th04\bgimage.obj bin\th04\bgimager.obj bin\th04\cdg_load.obj th04\frmdely2.c
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -DGAME=4 -DBINARY='O' -3 -Z -d -nbin\th04\ -eOP.EXE @&&|
|
2015-03-03 09:20:20 +00:00
|
|
|
$**
|
|
|
|
|
|
2018-04-14 17:08:22 +00:00
|
|
|
|
2022-03-25 23:12:43 +00:00
|
|
|
bin\th04\main.exe: bin\th04\main.obj bin\th04\slowdown.obj th04\ems.cpp th04\playfld.cpp th04\f_dialog.cpp th04\dialog.cpp bin\th04\player_p.obj bin\th04\scoreupd.obj th04\hud_ovrl.cpp bin\th04\cfg_lres.obj bin\th01\vplanset.obj bin\th03\vector2.obj bin\th02\frmdely1.obj bin\th03\hfliplut.obj th04\mpn_free.cpp bin\th04\input_w.obj th04\mpn_l_i.cpp bin\th04\vector.obj bin\th04\snd_pmdr.obj bin\th04\snd_mmdr.obj bin\th04\snd_kaja.obj bin\th04\snd_mode.obj bin\th04\snd_load.obj bin\th04\cdg_put.obj bin\th04\exit.obj bin\th04\initmain.obj bin\th04\cdg_p_na.obj bin\th04\cdg_p_pr.obj bin\th04\input_s.obj bin\th04\snd_se_r.obj bin\th04\snd_se.obj bin\th04\cdg_load.obj th04\gather.cpp bin\th04\scrolly3.obj bin\th04\motion_3.obj th04\mb_dft.cpp bin\th04\it_spl_u.obj th04\bullet_u.cpp th04\bullet_a.cpp th04\boss.cpp th04\boss_4r.cpp th04\boss_x2.cpp
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -DGAME=4 -DBINARY='M' -3 -Z -nbin\th04\ -eMAIN.EXE @&&|
|
2019-09-18 16:33:38 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2021-10-19 20:48:32 +00:00
|
|
|
bin\th04\maine.exe: bin\th04\maine.obj bin\th04\cfg_lres.obj th04\maine011.cpp bin\th01\vplanset.obj bin\th02\frmdely1.obj bin\th03\pi_put.obj bin\th04\cdg_put.obj bin\th04\exit.obj bin\th04\initmain.obj bin\th04\input_s.obj bin\th04\snd_se_r.obj bin\th04\snd_se.obj bin\th04\bgimage.obj bin\th04\bgimager.obj bin\th03\pi_load.obj bin\th03\pi_put_q.obj bin\th04\cdg_load.obj bin\th03\hfliplut.obj bin\th04\input_w.obj bin\th04\vector.obj bin\th04\snd_pmdr.obj bin\th04\snd_mmdr.obj bin\th04\snd_kaja.obj bin\th04\snd_mode.obj bin\th04\snd_dlym.obj bin\th04\cdg_p_pl.obj bin\th04\snd_load.obj
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -DGAME=4 -DBINARY='E' -Z -nbin\th04\ -eMAINE.EXE @&&|
|
2020-09-05 17:03:48 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2020-11-06 14:25:02 +00:00
|
|
|
{th05}.cpp{bin\th05}.obj:
|
|
|
|
$(CC) $(CFLAGS) -ml -Z -DGAME=5 -n$(@D) -c $**
|
|
|
|
|
2020-02-22 19:04:53 +00:00
|
|
|
bin\th05\res_kso.com: th05\res_kso.cpp
|
|
|
|
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=5 -nbin\th05\ -eRES_KSO.COM @&&|
|
|
|
|
$**
|
|
|
|
| masters.lib
|
|
|
|
|
2021-10-19 20:48:32 +00:00
|
|
|
bin\th05\op.exe: th05\op010.cpp bin\th05\op.obj th05\op011.cpp th05\m_char.cpp bin\th04\cdg_p_na.obj bin\th04\snd_se_r.obj bin\th04\snd_se.obj bin\th04\bgimage.obj bin\th05\cdg_put.obj bin\th04\exit.obj bin\th05\vector.obj bin\th05\musicp_c.obj bin\th05\musicp_a.obj bin\th05\bgimager.obj bin\th05\snd_load.obj bin\th05\snd_kaja.obj bin\th05\pi_cpp_1.obj bin\th05\pi_asm_1.obj bin\th05\pi_cpp_2.obj bin\th05\pi_asm_2.obj bin\th05\initop.obj bin\th05\input_s.obj bin\th05\inp_h_w.obj bin\th05\snd_dlym.obj th05\cdg_p_nc.cpp bin\th05\frmdelay.obj bin\th04\cdg_load.obj bin\th05\egcrect.obj bin\th03\hfliplut.obj bin\th04\snd_pmdr.obj bin\th04\snd_mmdr.obj bin\th04\snd_mode.obj bin\th02\exit_dos.obj
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -DGAME=5 -DBINARY='O' -3 -Z -nbin\th05\ -eOP.EXE @&&|
|
2019-12-07 10:37:53 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2022-03-23 15:38:29 +00:00
|
|
|
bin\th05\main.exe: bin\th05\main.obj bin\th04\slowdown.obj th05\ems.cpp bin\th05\cfg_lres.obj th05\main010.cpp th05\f_dialog.cpp th05\dialog.cpp th05\playfld.cpp th05\main011.cpp th05\p_common.cpp th05\p_reimu.cpp th05\p_marisa.cpp th05\p_mima.cpp th05\p_yuuka.cpp bin\th05\player.obj bin\th05\hud_bar.obj bin\th05\scoreupd.obj th05\hud_ovrl.cpp bin\th04\player_p.obj th05\player_a.cpp bin\th05\bullet_1.obj th05\bullet_c.cpp bin\th03\vector2.obj bin\th03\hfliplut.obj bin\th04\snd_pmdr.obj bin\th04\snd_mmdr.obj bin\th04\snd_mode.obj bin\th05\bullet.obj th05\bullet_t.cpp bin\th04\cdg_p_na.obj bin\th04\snd_se_r.obj bin\th04\snd_se.obj bin\th05\cdg_put.obj bin\th04\exit.obj bin\th05\vector.obj bin\th05\snd_load.obj bin\th05\snd_kaja.obj bin\th05\initmain.obj bin\th05\input_s.obj bin\th05\inp_h_w.obj bin\th05\frmdelay.obj bin\th04\cdg_load.obj bin\th04\scrolly3.obj bin\th04\motion_3.obj th05\gather.cpp th05\main032.cpp th05\mb_dft.cpp th05\laser_sc.cpp th05\curveb_u.cpp bin\th04\it_spl_u.obj th05\bullet_u.cpp th05\main034.cpp th05\c_b6ball.cpp th05\boss_x.cpp th05\boss.cpp th05\main014.cpp
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=5 -DBINARY='M' -nbin\th05\ -eMAIN.EXE @&&|
|
2019-09-14 14:41:16 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2021-10-19 20:48:32 +00:00
|
|
|
bin\th05\maine.exe: bin\th05\maine.obj bin\th04\cfg_lres.obj th05\maine011.cpp th05\regist.cpp th05\staff.cpp bin\th04\cdg_p_na.obj bin\th04\snd_se_r.obj bin\th04\snd_se.obj bin\th04\bgimage.obj bin\th04\exit.obj bin\th05\vector.obj bin\th05\bgimager.obj bin\th05\snd_load.obj bin\th05\snd_kaja.obj bin\th05\pi_cpp_1.obj bin\th05\pi_asm_1.obj bin\th05\pi_cpp_2.obj bin\th05\pi_asm_2.obj bin\th05\initmain.obj bin\th05\input_s.obj bin\th05\inp_h_w.obj bin\th05\snd_dlym.obj bin\th05\frmdelay.obj bin\th04\cdg_load.obj bin\th05\egcrect.obj bin\th03\hfliplut.obj bin\th04\snd_pmdr.obj bin\th04\snd_mmdr.obj bin\th04\snd_mode.obj
|
2021-02-17 20:02:26 +00:00
|
|
|
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -DGAME=5 -DBINARY='E' -Z -nbin\th05\ -eMAINE.EXE @&&|
|
2020-09-05 17:03:48 +00:00
|
|
|
$**
|
|
|
|
|
|
|
|
|
|
2018-04-14 17:08:22 +00:00
|
|
|
# ZUN.COM packing
|
|
|
|
|
2020-09-05 23:12:42 +00:00
|
|
|
{bin\zuncom}.obj{bin\zuncom}.bin:
|
|
|
|
tlink -t $**, $@
|
|
|
|
|
2018-04-15 17:07:40 +00:00
|
|
|
bin\zuncom\zungen.com: zuncom\zungen.c
|
|
|
|
$(CC) $(CFLAGS) -mt -lt -nbin\zuncom\ -eZUNGEN.COM $**
|
2018-04-14 17:08:22 +00:00
|
|
|
|
2018-04-15 14:37:06 +00:00
|
|
|
bin\zuncom\comcstm.com: zuncom\comcstm.c
|
|
|
|
$(CC) $(CFLAGS) -mt -lt -nbin\zuncom\ -eCOMCSTM.com $**
|
|
|
|
|
2018-04-15 17:22:41 +00:00
|
|
|
ZUNCOM_PREREQ = bin\zuncom\zungen.com bin\zuncom\zun_stub.bin
|
2018-04-14 17:08:22 +00:00
|
|
|
|
|
|
|
bin\th02\zun.com : $(ZUNCOM_PREREQ) libs\kaja\ongchk.com bin\th02\zuninit.com bin\th02\zun_res.com bin\th01\zunsoft.com
|
2018-04-15 17:22:41 +00:00
|
|
|
bin\zuncom\zungen bin\zuncom\zun_stub.bin &&|
|
2018-04-15 17:07:40 +00:00
|
|
|
4
|
|
|
|
ONGCHK
|
|
|
|
ZUNINIT
|
|
|
|
ZUN_RES
|
|
|
|
ZUNSOFT
|
2018-04-14 17:08:22 +00:00
|
|
|
libs\kaja\ongchk.com
|
|
|
|
bin\th02\zuninit.com
|
|
|
|
bin\th02\zun_res.com
|
|
|
|
bin\th01\zunsoft.com
|
|
|
|
| bin\th02\zun.com
|
|
|
|
|
|
|
|
bin\th03\zun.com : $(ZUNCOM_PREREQ) libs\kaja\ongchk.com bin\th02\zuninit.com bin\th01\zunsoft.com bin\th03\zunsp.com bin\th03\res_yume.com
|
2018-04-15 17:22:41 +00:00
|
|
|
bin\zuncom\zungen bin\zuncom\zun_stub.bin &&|
|
2018-04-15 17:07:40 +00:00
|
|
|
5
|
|
|
|
-1
|
|
|
|
-2
|
|
|
|
-3
|
|
|
|
-4
|
|
|
|
-5
|
2018-04-14 17:08:22 +00:00
|
|
|
libs\kaja\ongchk.com
|
|
|
|
bin\th02\zuninit.com
|
|
|
|
bin\th01\zunsoft.com
|
|
|
|
bin\th03\zunsp.com
|
|
|
|
bin\th03\res_yume.com
|
|
|
|
| bin\th03\zun.com
|
2018-04-15 14:37:06 +00:00
|
|
|
|
|
|
|
bin\th04\zuncom.bin : $(ZUNCOM_PREREQ) libs\kaja\ongchk.com bin\th04\zuninit.com bin\th04\res_huma.com bin\th04\memchk.com
|
2018-04-15 17:22:41 +00:00
|
|
|
bin\zuncom\zungen bin\zuncom\zun_stub.bin &&|
|
2018-04-15 17:07:40 +00:00
|
|
|
4
|
|
|
|
-O
|
|
|
|
-I
|
|
|
|
-S
|
|
|
|
-M
|
2018-04-15 14:37:06 +00:00
|
|
|
libs\kaja\ongchk.com
|
|
|
|
bin\th04\zuninit.com
|
|
|
|
bin\th04\res_huma.com
|
|
|
|
bin\th04\memchk.com
|
|
|
|
| bin\th04\zuncom.bin
|
|
|
|
|
|
|
|
bin\th05\zuncom.bin : $(ZUNCOM_PREREQ) libs\kaja\ongchk.com bin\th05\zuninit.com bin\th05\res_kso.com bin\th05\gjinit.com bin\th05\memchk.com
|
2018-04-15 17:22:41 +00:00
|
|
|
bin\zuncom\zungen bin\zuncom\zun_stub.bin &&|
|
2018-04-15 17:07:40 +00:00
|
|
|
5
|
|
|
|
-O
|
|
|
|
-I
|
|
|
|
-S
|
|
|
|
-G
|
|
|
|
-M
|
2018-04-15 14:37:06 +00:00
|
|
|
libs\kaja\ongchk.com
|
|
|
|
bin\th05\zuninit.com
|
|
|
|
bin\th05\res_kso.com
|
|
|
|
bin\th05\gjinit.com
|
|
|
|
bin\th05\memchk.com
|
|
|
|
| bin\th05\zuncom.bin
|
|
|
|
|
|
|
|
bin\th04\zun.com : bin\zuncom\comcstm.com zuncom\zun4.txt bin\th04\zuncom.bin bin\zuncom\cstmstub.bin
|
2018-04-15 17:07:40 +00:00
|
|
|
bin\zuncom\comcstm zuncom\zun4.txt bin\th04\zuncom.bin bin\zuncom\cstmstub.bin 621381155 bin\th04\zun.com
|
2018-04-15 14:37:06 +00:00
|
|
|
|
|
|
|
bin\th05\zun.com : bin\zuncom\comcstm.com zuncom\zun5.txt bin\th05\zuncom.bin bin\zuncom\cstmstub.bin
|
2018-04-15 17:07:40 +00:00
|
|
|
bin\zuncom\comcstm zuncom\zun5.txt bin\th05\zuncom.bin bin\zuncom\cstmstub.bin 628731748 bin\th05\zun.com
|