mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
Tiny steps towards implementing C runtime
This commit is contained in:
parent
ccd2cd37a5
commit
c38d9b5628
6 changed files with 65 additions and 14 deletions
|
|
@ -1,10 +1,27 @@
|
|||
all: src/JSRF/Jet2.obj
|
||||
# JSRF Decompilation Makefile
|
||||
# An NMAKE Makefile to compile the game with the Visual C++ 7.0 toolchain
|
||||
|
||||
# All object files to link together
|
||||
OBJ = src/JSRF/Jet2.obj src/JSRF/Core.obj src/JSRF/GameData.obj\
|
||||
src/XDK/CRT/CRT0.obj
|
||||
|
||||
|
||||
# Linking into an executable; expect this to fail with undefined references
|
||||
# until we've made at least stubs for everything in the game
|
||||
#all: src/JSRF/Jet2.exe
|
||||
#src/JSRF/Jet2.exe: $(OBJ)
|
||||
# LINK.EXE /NOLOGO /NODEFAULTLIB /MERGE:.CRT=.data /OUT:$@ $**
|
||||
|
||||
# For now, just compile all the object files
|
||||
all: $(OBJ)
|
||||
|
||||
|
||||
# Simple inference rule for producing object files
|
||||
.SUFFIXES: .cpp .obj
|
||||
.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
|
||||
|
|
@ -13,3 +30,5 @@ src/JSRF/Core.obj: src/JSRF/Core.hpp src/Smilebit/MMatrix.hpp src/Std.hpp\
|
|||
src/XDK/D3D.hpp src/XDK/Win32.hpp
|
||||
|
||||
src/JSRF/GameData.obj: src/JSRF/GameData.hpp
|
||||
|
||||
src/XDK/CRT/CRT0.obj: src/XDK/Win32.hpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue