Fix the Linux build.
This commit is contained in:
@@ -40,7 +40,7 @@ LIBDIR = ../../JGE/lib/psp
|
||||
CFLAGS = -O2 -G0 -DPSPFW3XX -DDEVHOOK -DUSE_PRECOMPILED_HEADERS=1 -DPSP
|
||||
else
|
||||
OBJS += objs/TestSuiteAI.o
|
||||
INCDIR = -I../../JGE/include -I../../JGE/src -I/usr/X11/include -I../../projects/mtg/include -I../../Boost
|
||||
INCDIR = -I../../JGE/include -I../../JGE/src -I/usr/X11/include -I../../projects/mtg/include -I../../Boost -I../../JGE/src/zipFS
|
||||
LIBDIR = -L../../JGE/lib/linux -L../../JGE -L/usr/X11/lib -L../../Boost/lib
|
||||
LIBS = -ljge -lfreetype -ljpeg -lgif -lpng -lz -lm -lstdc++ -lhgetools -lGL -lGLU -lX11 -lboost_thread $(FMOD)
|
||||
CFLAGS = $(INCDIR) -DLINUX -DUSE_PRECOMPILED_HEADERS=1
|
||||
|
||||
@@ -12,6 +12,13 @@ using std::vector;
|
||||
class PlayGuiObject;
|
||||
class DuelLayers;
|
||||
|
||||
// The X lib annoyingly defines True to be 1, leading to
|
||||
// hard to understand syntax errors. Not using it, so it's
|
||||
// safe to undefine it.
|
||||
#ifdef True
|
||||
#undef True
|
||||
#endif
|
||||
|
||||
template<typename T>
|
||||
struct LimitorFunctor
|
||||
{
|
||||
|
||||
@@ -7,15 +7,6 @@
|
||||
#include "Closest.cpp"
|
||||
#include "GameObserver.h"
|
||||
|
||||
//using std::cout;
|
||||
|
||||
// The X lib annoyingly defines True to be 1, leading to
|
||||
// hard to understand syntax errors. Not using it, so it's
|
||||
// safe to undefine it.
|
||||
#ifdef True
|
||||
#undef True
|
||||
#endif
|
||||
|
||||
struct Left: public Exp
|
||||
{
|
||||
static inline bool test(CardSelector::Target* ref, CardSelector::Target* test)
|
||||
|
||||
Reference in New Issue
Block a user