+# C++ compiler
+# Put a comment before --pipe for Cygwin, remove comment for Mingw32 2.95
+
+ifeq ($(MINGW32),1)
+ ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
+ CC = $(CROSS)gcc --pipe -fvtable-thunks
+ else
+ CC = $(CROSS)gcc
+ endif
+else
+ CC = $(CROSS)gcc
+endif
+
+# C compiler for pure C programs
+CCC = $(CC)
+
+# Compiler used for LEX generated C
+CCLEX=$(CROSS)gcc
+
+# This shouldn't be needed as make is supposed to define this
+# variable itself. Uncomment it if your make complains.
+#MAKE=make
+
+# LEX (currently unused)
+LEX=flex # -t -L
+
+# YACC (currently unused)
+YACC=byacc
+#YACC=bison
+
+# Settings for Cyginw/Mingw32
+# Some versions of windres cannot cope with the --preprocessor
+# option. Uncomment the RCPREPROCESSOR line below if yours can.
+RESCOMP=$(CROSS)windres
+RCINPUTSWITCH=-i
+RCOUTPUTSWITCH=-o
+RCINCSWITCH=--include-dir
+RCDEFSWITCH=--define
+# Note that this can cause windres to fail (Win95/98 problem?)
+# but commenting out RCPREPROCESSOR then does the trick.
+#RCPREPROCESSOR=--preprocessor "$(CC) -c -E -xc-header -DRC_INVOKED"
+
+# Don't make this too long (e.g. by adding contrib/include/wx) because it will
+# truncate the command line
+RESFLAGS=--use-temp-file $(RCPREPROCESSOR) $(RCINCSWITCH) $(WXDIR)/include $(RCEXTRAINC) $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__
+
+# Needed to build a DLL if your linker does not support --shared option.
+AS = $(CROSS)as
+DLLTOOL = $(CROSS)dlltool