summaryrefslogtreecommitdiff
path: root/tecmakewin.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-11-22 20:38:08 +0000
committerscuri <scuri>2010-11-22 20:38:08 +0000
commit0a8141bef5d589962a8147e1ab5e4193ac017639 (patch)
treee782cd30dcc1b5e6de2564d42e9d5e20771368cb /tecmakewin.mak
parentefa14b0d9a7b5f5173fa60d77134b1731521b431 (diff)
*** empty log message ***
Diffstat (limited to 'tecmakewin.mak')
-rw-r--r--tecmakewin.mak47
1 files changed, 36 insertions, 11 deletions
diff --git a/tecmakewin.mak b/tecmakewin.mak
index 3866fd8..951754a 100644
--- a/tecmakewin.mak
+++ b/tecmakewin.mak
@@ -6,7 +6,7 @@
#---------------------------------#
# Tecmake Version
-VERSION = 4.3
+VERSION = 4.4
#---------------------------------#
@@ -691,6 +691,10 @@ endif
ifeq "$(TEC_CC)" "gcc"
WIN_OTHER = YES
+ ifdef BUILD64
+ STDDEFS += -DWIN64
+ GTK := $(GTK)_x64
+ endif
ifneq "$(findstring mingw, $(COMPILER))" ""
BIN = $(COMPILER)/bin/
endif
@@ -894,13 +898,17 @@ ifdef USE_LUA
LUA_LIB ?= $(LUA)/lib/$(TEC_UNAME)
LDIR += $(LUA_LIB)
- LUA_INC ?= $(LUA)/include
+ LUA_INC ?= $(LUA)/include
INCLUDES += $(LUA_INC)
LUA_BIN ?= $(LUA)/bin/$(TEC_SYSNAME)
- BIN2C := $(LUA_BIN)/bin2c$(LUA_SUFFIX)
- LUAC := $(LUA_BIN)/luac$(LUA_SUFFIX)
- LUABIN := $(LUA_BIN)/lua$(LUA_SUFFIX)
+ ifdef USE_BIN2C_LUA
+ BIN2C := $(LUA_BIN)/lua$(LUA_SUFFIX) $(BIN2C_PATH)bin2c.lua
+ else
+ BIN2C := $(LUA_BIN)/bin2c$(LUA_SUFFIX)
+ endif
+ LUAC := $(LUA_BIN)/luac$(LUA_SUFFIX)
+ LUABIN := $(LUA_BIN)/lua$(LUA_SUFFIX)
endif
ifdef USE_IUP
@@ -912,16 +920,22 @@ ifdef USE_IUP
else
LIBS += iup
endif
- LDIR += $(IUP)/lib/$(TEC_UNAME)
+
+ IUP_LIB ?= $(IUP)/lib/$(TEC_UNAME)
+ LDIR += $(IUP_LIB)
+
ifdef USE_OPENGL
LIBS += iupgl
endif
+
ifdef USE_DLL
ifeq ($(MAKETYPE), APP)
LIBS += iupstub
endif
endif
- INCLUDES += $(IUP)/include
+
+ IUP_INC ?= $(IUP)/include
+ INCLUDES += $(IUP_INC)
endif
ifdef USE_CD
@@ -929,25 +943,36 @@ ifdef USE_CD
CHECK_GDIPLUS = Yes
LIBS += cdcontextplus gdiplus
endif
+
ifdef USE_CAIRO
# To use Cairo with Win32 base driver (NOT for GDK)
# Can NOT be used together with GDI+
LIBS += cdcairo pangocairo-1.0 cairo
endif
+
ifdef USE_GDK
LIBS += cdgdk
else
LIBS += cd
endif
+
LIBS += freetype6
- LDIR += $(CD)/lib/$(TEC_UNAME)
- INCLUDES += $(CD)/include
+
+ CD_LIB ?= $(CD)/lib/$(TEC_UNAME)
+ LDIR += $(CD_LIB)
+
+ CD_INC ?= $(CD)/include
+ INCLUDES += $(CD_INC)
endif
ifdef USE_IM
LIBS += im
- LDIR += $(IM)/lib/$(TEC_UNAME)
- INCLUDES += $(IM)/include
+
+ IM_LIB ?= $(IM)/lib/$(TEC_UNAME)
+ LDIR += $(IM_LIB)
+
+ IM_INC ?= $(IM)/include
+ INCLUDES += $(IM_INC)
endif
ifdef USE_OPENGL