[BACK]Return to patch-src_Makefile_lnx CVS log [TXT][DIR] Up to [local] / ports / games / motogt / patches

File: [local] / ports / games / motogt / patches / patch-src_Makefile_lnx (download)

Revision 1.1, Thu Oct 27 16:52:06 2011 UTC (12 years, 6 months ago) by yason
Branch point for: MAIN

Initial revision

$OpenBSD$
--- src/Makefile.lnx.orig	Thu Oct 27 20:35:21 2011
+++ src/Makefile.lnx	Thu Oct 27 20:37:16 2011
@@ -1,7 +1,7 @@
 GPP=g++
-GCC=gcc
-FLAGS= -O2 -ffast-math
-LIBS= -s -lpng -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio  
+GCC=${CXX}
+FLAGS=${CXXFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include
+LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib -s -pthread -lpng -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio  
 TEMP_DIR=../tmp-lnx
 
 all: ${TEMP_DIR} ../MotoGT.bin