summaryrefslogtreecommitdiff
path: root/src/tecmake_compact.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-01-27 02:27:40 +0000
committerscuri <scuri>2010-01-27 02:27:40 +0000
commit9a2b4d303f6cbb90ee45dc561f8ab6f30dd3c302 (patch)
tree2ce0c4718f0a5f235d85f465e2aa256b99181fc1 /src/tecmake_compact.mak
parentee8c9fd924d7b12c287787fc2aaa4b39f50e868c (diff)
*** empty log message ***
Diffstat (limited to 'src/tecmake_compact.mak')
-rw-r--r--src/tecmake_compact.mak16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/tecmake_compact.mak b/src/tecmake_compact.mak
index e6ce627..e0fe0ee 100644
--- a/src/tecmake_compact.mak
+++ b/src/tecmake_compact.mak
@@ -193,7 +193,6 @@ RANLIB := $(TEC_TOOLCHAIN)ranlib
AR := $(TEC_TOOLCHAIN)ar
DEBUGGER := $(TEC_TOOLCHAIN)gdb
RCC := $(TEC_TOOLCHAIN)windres
-LD := $(TEC_TOOLCHAIN)gcc
#---------------------------------#
@@ -306,8 +305,10 @@ TARGETDIR := $(TARGETROOT)/$(TEC_UNAME_DIR)
ifndef LINKER
ifneq "$(findstring .cpp, $(SRC))" ""
LINKER := $(CPPC)
+ LD := $(CPPC)
else
LINKER := $(CC)
+ LD := $(CC)
endif
endif
@@ -631,8 +632,13 @@ ifdef USE_LUA
LIBS += lualib$(LUASUFX)
endif
ifndef NO_LUALINK
- LIBS += lua$(LUASUFX)
- LDIR += $(LUA_LIB)
+ LIBS += lua$(LUASUFX)
+ LDIR += $(LUA_LIB)
+ else
+ ifneq ($(findstring cygw, $(TEC_UNAME)), )
+ LIBS += lua$(LUASUFX)
+ LDIR += $(LUA_LIB)
+ endif
endif
endif
@@ -771,7 +777,9 @@ endif
ifdef USE_OPENGL
override USE_X11 = Yes
ifdef USE_MOTIF
- LIBS += $(MOTIFGL_LIB)
+ ifndef USE_IUP3
+ LIBS += $(MOTIFGL_LIB)
+ endif
endif
LIBS += $(OPENGL_LIBS)
LDIR += $(OPENGL_LIB)