2015-02-21 10:23:03 +00:00
|
|
|
# ReC98
|
|
|
|
# -----
|
|
|
|
# Makefile for the 16-bit part of the build process
|
|
|
|
|
2015-02-21 13:13:58 +00:00
|
|
|
CFLAGS = -ls -Ilibs\master.lib\ -I. -Lbin\ -O -a2
|
2015-02-21 10:23:03 +00:00
|
|
|
|
|
|
|
TH01 = \zunsoft.com \op.exe \reiiden.exe \fuuin.exe
|
|
|
|
TH02 = \zuninit.com \zun_res.com \op.exe \main.exe \maine.exe
|
|
|
|
TH03 = \zunsp.com \res_yume.com \op.exe \main.exe \mainl.exe
|
|
|
|
TH04 = \res_huma.com \op.exe \main.exe \maine.exe
|
|
|
|
TH05 = \res_kso.com \op.exe \main.exe \maine.exe
|
|
|
|
|
|
|
|
all: th01 th02 th03 th04 th05
|
|
|
|
@echo Done. Find the executables in the bin\ subdirectory.
|
|
|
|
|
|
|
|
th01:: $(TH01:\=bin\th01\)
|
|
|
|
th02:: $(TH02:\=bin\th02\)
|
|
|
|
th03:: $(TH03:\=bin\th03\)
|
|
|
|
th04:: $(TH04:\=bin\th04\)
|
|
|
|
th05:: $(TH05:\=bin\th05\)
|
|
|
|
|
|
|
|
.obj.exe:
|
|
|
|
$(CC) $(CFLAGS) -ml $**
|
|
|
|
|
|
|
|
.obj.com:
|
|
|
|
tlink /t /3 $**
|
|
|
|
|
|
|
|
bin\th01\zunsoft.com: th01\zunsoft.c
|
2015-02-21 13:13:58 +00:00
|
|
|
$(CC) $(CFLAGS) -mt -lt -nbin\th01\ $** masters.lib
|
|
|
|
|
|
|
|
bin\th02\op.exe: bin\th02\op.obj th02\op_03.c
|
|
|
|
$(CC) $(CFLAGS) -ml -nbin\th02\ -eOP.EXE $**
|