mirror of https://github.com/nmlgc/ReC98.git
[Build] Compile shared translation units in 386 mode by default
By now, it has become clear that this the norm rather than the exception among these units. Thankfully! Part of P0245, funded by [Anonymous], Blue Bolt, Ember2528, and Yanga.
This commit is contained in:
parent
0ffa756cae
commit
491f7b83d2
10
Makefile.mak
10
Makefile.mak
|
@ -85,9 +85,9 @@ $**
|
|||
|
|
||||
|
||||
{th02}.c{bin\th02}.obj:
|
||||
$(CC) $(CFLAGS) -ml -Z -DGAME=2 -n$(@D) -c $**
|
||||
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=2 -n$(@D) -c $**
|
||||
{th02}.cpp{bin\th02}.obj:
|
||||
$(CC) $(CFLAGS) -ml -Z -DGAME=2 -n$(@D) -c $**
|
||||
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=2 -n$(@D) -c $**
|
||||
|
||||
bin\th02\zun_res.com: th02\zun_res1.cpp th02\zun_res2.c th02\zun_res3.c
|
||||
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=2 -nbin\th02\ -eZUN_RES.COM @&&|
|
||||
|
@ -110,9 +110,9 @@ $**
|
|||
|
|
||||
|
||||
{th03}.c{bin\th03}.obj:
|
||||
$(CC) $(CFLAGS) -ml -Z -DGAME=3 -n$(@D) -c $**
|
||||
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=3 -n$(@D) -c $**
|
||||
{th03}.cpp{bin\th03}.obj:
|
||||
$(CC) $(CFLAGS) -ml -Z -DGAME=3 -n$(@D) -c $**
|
||||
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=3 -n$(@D) -c $**
|
||||
|
||||
bin\th03\res_yume.com: th03\res_yume.cpp
|
||||
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=3 -nbin\th03\ -eRES_YUME.COM @&&|
|
||||
|
@ -163,7 +163,7 @@ $**
|
|||
|
|
||||
|
||||
{th05}.cpp{bin\th05}.obj:
|
||||
$(CC) $(CFLAGS) -ml -Z -DGAME=5 -n$(@D) -c $**
|
||||
$(CC) $(CFLAGS) -ml -3 -Z -DGAME=5 -n$(@D) -c $**
|
||||
|
||||
bin\th05\res_kso.com: th05\res_kso.cpp
|
||||
$(CC) $(CFLAGS) -mt -lt -Z -DGAME=5 -nbin\th05\ -eRES_KSO.COM @&&|
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <mem.h>
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
extern "C" {
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <mem.h>
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <mbctype.h>
|
||||
#include <mbstring.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 1st part of code segment #2 of TH02's MAIN.EXE
|
||||
*/
|
||||
|
||||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <stddef.h>
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include "platform.h"
|
||||
#include "pc98.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
extern "C" {
|
||||
#include <io.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <stddef.h>
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3 -Z
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include "platform.h"
|
||||
#include "x86real.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include "platform.h"
|
||||
#include "x86real.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include "th03/math/polar.hpp"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include "platform.h"
|
||||
#include "master.hpp"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <stddef.h>
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3
|
||||
#pragma option -zCSHARED
|
||||
|
||||
#include <mem.h>
|
||||
#include "platform.h"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma option -3
|
||||
|
||||
#include "platform.h"
|
||||
#include "pc98.h"
|
||||
#include "th04/main/hud/hud.hpp"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma option -3
|
||||
|
||||
#include "platform.h"
|
||||
#include "pc98.h"
|
||||
#include "th01/math/subpixel.hpp"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma option -3
|
||||
|
||||
#include <stddef.h>
|
||||
#include "platform.h"
|
||||
#include "pc98.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED -3 -Z-
|
||||
#pragma option -zCSHARED -Z-
|
||||
|
||||
#include "platform.h"
|
||||
#include "x86real.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Second TH05 .PI C++ translation unit.
|
||||
|
||||
#pragma option -zCSHARED_
|
||||
#pragma option -zCSHARED_ -2 -k-
|
||||
|
||||
#include <stddef.h>
|
||||
#include "platform.h"
|
||||
|
@ -23,8 +23,6 @@ void pascal near pi_put_8_rowloop(
|
|||
screen_x_t left, vram_y_t top, pixel_t w, size_t stride_packed
|
||||
);
|
||||
|
||||
#pragma option -k-
|
||||
|
||||
// MODDERS: Just give egc_setup_copy() a mask parameter and remove this
|
||||
// abomination of a function.
|
||||
void near pi_mask_setup_egc_and_advance(void)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma option -zCSHARED_ -3
|
||||
#pragma option -zCSHARED_
|
||||
|
||||
#include <errno.h>
|
||||
#include "platform.h"
|
||||
|
|
Loading…
Reference in New Issue