mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 18:27:04 +03:00
Compile XDK code as C
It appears to be all C code (especially the non-C++ parts of the C runtime, of course), so we'll compile it as such.
This commit is contained in:
parent
149af27b9c
commit
d435282a8b
9 changed files with 48 additions and 23 deletions
|
|
@ -31,17 +31,19 @@ src/JSRF/Jet2.exe: $(OBJ) $(LIB)
|
|||
LIB.EXE /NOLOGO /MACHINE:X86 /DEF:$< /OUT:$@
|
||||
|
||||
# Compile object files from source
|
||||
.c.obj:
|
||||
CL.EXE /nologo /Wall /W4 /Ogityb0 /GfX /Fo$@ /c $<
|
||||
.cpp.obj:
|
||||
CL.EXE /nologo /Wall /W4 /Ogityb0 /GfX /Fo$@ /c $<
|
||||
|
||||
|
||||
# Header files used for each object
|
||||
src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/Std.hpp src/XDK/D3D.hpp\
|
||||
src/XDK/Win32.hpp
|
||||
src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/Std.hpp src/XDK/D3D.h\
|
||||
src/XDK/Win32.h
|
||||
|
||||
src/JSRF/Core.obj: src/JSRF/Core.hpp src/Smilebit/MMatrix.hpp src/Std.hpp\
|
||||
src/XDK/D3D.hpp src/XDK/Win32.hpp
|
||||
src/XDK/D3D.h src/XDK/Win32.h
|
||||
|
||||
src/JSRF/GameData.obj: src/JSRF/GameData.hpp
|
||||
|
||||
src/XDK/CRT/CRT0.obj: src/XDK/Win32.hpp
|
||||
src/XDK/CRT/CRT0.obj: src/XDK/Win32.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue