diff options
Diffstat (limited to 'games/cake/files')
-rw-r--r-- | games/cake/files/patch-Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/cake/files/patch-Makefile b/games/cake/files/patch-Makefile index 020889de38f9..629772c47950 100644 --- a/games/cake/files/patch-Makefile +++ b/games/cake/files/patch-Makefile @@ -8,11 +8,11 @@ -LDFLAGS += -L/usr/lib -L/usr/local/lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lm -ldl -LDFLAGS += -lpthread -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -LDFLAGS += -lcurses -ljpeg -lz -lfmod-3.63 -+INCLUDES = -I/usr/include -I$(LOCALBASE)/include -I$(X11BASE)/include ++INCLUDES = -I/usr/include -I$(LOCALBASE)/include +CXX ?= g++ +CXXFLAGS += -Wall $(INCLUDES) + -+LDFLAGS += -L/usr/lib -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lglut -lGLU -lGL ++LDFLAGS += -L/usr/lib -L$(LOCALBASE)/lib -lglut -lGLU -lGL +LDFLAGS += $(PTHREAD_LIBS) -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE +#LDFLAGS += -lcurses -ljpeg -lz -lfmod-3.63 +LDFLAGS += -ljpeg |