tmake.conf 1.43 KB
Newer Older
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1
#
2
# 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
3 4 5 6 7 8 9
#
# tmake configuration for Win32/g++ (Cygnus gnu-win32)
#

TEMPLATE		= app
CONFIG			= qt warn_on release

10
TMAKE_CC		= gcc
Dimitri van Heesch's avatar
Dimitri van Heesch committed
11 12 13 14 15 16 17
TMAKE_CFLAGS		=
TMAKE_CFLAGS_WARN_ON	=
TMAKE_CFLAGS_WARN_OFF	=
TMAKE_CFLAGS_RELEASE	= -O
TMAKE_CFLAGS_DEBUG	= -g
TMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses

18
TMAKE_CXX		= g++
Dimitri van Heesch's avatar
Dimitri van Heesch committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
TMAKE_CXXFLAGS_RELEASE	= $$TMAKE_CFLAGS_RELEASE
TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		=
TMAKE_INCDIR_QT		= $(QTDIR)/include

TMAKE_RUN_CC		= $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
TMAKE_RUN_CC_IMP	= $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
TMAKE_RUN_CXX		= $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
TMAKE_RUN_CXX_IMP	= $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

TMAKE_LINK		= g++
TMAKE_LFLAGS		=
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	=
TMAKE_LFLAGS_CONSOLE	= -Wl,-subsystem,console
TMAKE_LFLAGS_WINDOWS	= -Wl,-subsystem,windows
TMAKE_LFLAGS_CONSOLE_DLL= -Wl,-subsystem,console
TMAKE_LFLAGS_WINDOWS_DLL= -Wl,-subsystem,windows

TMAKE_LIBS		=
TMAKE_LIBS_CONSOLE	=
45
TMAKE_LIBS_WINDOWS	= -luser32 -lgdi32 -lcomdlg32 -limm32 -lole32 -luuid -lwsock32
Dimitri van Heesch's avatar
Dimitri van Heesch committed
46 47 48 49 50 51 52 53 54 55 56
TMAKE_LIBS_QT		= -L$(QTDIR)/lib -lqt
TMAKE_LIBS_QT_DLL	= -lqtmain
TMAKE_LIBS_QT_OPENGL	= -lqgl
TMAKE_LIBS_OPENGL	= -lopengl32

TMAKE_MOC		= moc

TMAKE_AR		= ar cqs
TMAKE_RANLIB		=

TMAKE_ZIP		= zip -r -9