Skip compiling C-included files during the build (#1386)

* Update the makefile to skip .inc.c files when building

* Rename all C-included source files to .inc.c
This commit is contained in:
Roman971
2022-10-04 12:36:25 +02:00
committed by GitHub
parent 2f4c25da53
commit 1cb00350d9
41 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -3963,7 +3963,7 @@ s32 func_80035124(Actor* actor, PlayState* play) {
return ret;
}
#include "z_cheap_proc.c"
#include "z_cheap_proc.inc.c"
u8 func_800353E8(PlayState* play) {
Player* player = GET_PLAYER(play);
+1 -1
View File
@@ -33,7 +33,7 @@ s32 Camera_UpdateWater(Camera* camera);
#define DISTORTION_UNDERWATER_STRONG (1 << 3)
#define DISTORTION_UNDERWATER_FISHING (1 << 4)
#include "z_camera_data.c"
#include "z_camera_data.inc.c"
/*===============================================================*/
+1 -1
View File
@@ -6,7 +6,7 @@ static s16 sDisableAttention = false;
static s16 sUnused = -1;
static s32 sPrevFrameCs1100 = -4096;
#include "z_onepointdemo_data.c"
#include "z_onepointdemo_data.inc.c"
void OnePointCutscene_AddVecSphToVec3f(Vec3f* dst, Vec3f* src, VecSph* vecSph) {
Vec3f out;