Proper Makefile For 2xquake


Megatog615

Member
Joined
Dec 25, 2006
Messages
163
Can someone provide a proper Makefile(preferably geared towards Linux, and with the gp2xsdk in $HOME) for building 2xQuake? The current one that comes with 2xQuake seems to only work with the maintainer's setup.
 
All you have to do is change a couple of paths and exe names. It should only take a minute or two at the most to adapt it to your own environment.
 
What is this then?
Makefile said:
BASEFILES = $(GPSDK_HOME)/basefiles

ALL_INCLUDES = -I$(GPSDK_HOME)/include $(INCLUDES)
ALL_LIBS = $(LIBS)
There is no $GPSDK_HOME defined at all.
 
Last edited by a moderator:
I don't know where to point it to, and without it 2xQuake won't compile. I want to hack around with 2xQuake(I don't know much of C and I thought maybe looking at the Quake source would help me learn).
 
Hehehe, the Quake source is probably not the best way to learn C :lol:

Try something a bit less likely to make your head explode, like any game not ported from code from the mid-90s.
 
If you can't do a simple search on the makefile and realise that the basefiles line is obsolete (the makefile is a quick conversion from the gp32 version), then you're not going to find it easy to follow the quake source I'm afraid. GPSDK_HOME is also obsolete. Converting the makefile to your environment doesn't involve anything more than finding references to /c/devkitGP2x.... and changing the path and exe name to match your devkit.
 
Back
Top