summaryrefslogtreecommitdiff
path: root/test/simple/config.mak
diff options
context:
space:
mode:
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