summaryrefslogtreecommitdiff
path: root/test/simple/config.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-21 22:55:10 +0000
committerscuri <scuri>2010-06-21 22:55:10 +0000
commit37a92b86d13e89d0dcec92be6d23ceced29dbc36 (patch)
treefaff61ef668379212b4ed948934533c3f2fe308b /test/simple/config.mak
parenta124216ee05a5d63ea8fcdafcd050ad1fadf0b09 (diff)
*** empty log message ***
Diffstat (limited to 'test/simple/config.mak')
-rw-r--r--test/simple/config.mak13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/simple/config.mak b/test/simple/config.mak
index 5b84629..6baa00a 100644
--- a/test/simple/config.mak
+++ b/test/simple/config.mak
@@ -39,11 +39,19 @@ USE_STATIC = Yes
#USE_IM = Yes
+USE_OPENGL = Yes
+ifdef USE_OPENGL
+ DEFINES += USE_OPENGL
+endif
+
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
LIBS = cdpdf pdflib
ifndef GDK_CAIRO
LIBS += cdcontextplus gdiplus
endif
+ ifdef USE_OPENGL
+ LIBS += cdgl ftgl
+ endif
else
ifdef DBG_DIR
CDLIB = $(CD)/lib/$(TEC_UNAME)d
@@ -55,6 +63,9 @@ else
ifndef GDK_CAIRO
SLIB += $(CDLIB)/libcdcontextplus.a
LIBS = Xrender Xft
- else
+ endif
+ ifdef USE_OPENGL
+ SLIB += $(CDLIB)/libcdgl.a $(CDLIB)/libftgl.a
+ #LIBS = ftgl
endif
endif