X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8704bf74fba8523e2e174bd5a8195b5202009cd0..cce4b3fe2b05e1d928d7a5930c33c624b2f3a667:/src/makeg95.env diff --git a/src/makeg95.env b/src/makeg95.env index 374bdf15da..236b95ae28 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -36,16 +36,20 @@ CCLEX=gcc MAKE=make # LEX -LEX=flex.exe -t -L +LEX=flex -t -L -# YACC. byacc or bison -# YACC=byacc.exe -YACC=bison.exe +# YACC. yacc or bison +# YACC=yacc +YACC=bison -# Resource compiler +# Settings for Cyginw/Mingw32 RESCOMP=windres.exe +RCINPUTSWITCH=-i +RCOUTPUTSWITCH=-o +RCINCSWITCH=--include-dir +RCDEFSWITCH=--define -RESFLAGS=--include-dir $(WXDIR)/include --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ +RESFLAGS=$(RCINCSWITCH) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__ ########################## Compiler flags ############################# @@ -57,15 +61,6 @@ OPTIONS= # -D__MINGW32__ # -D__EGCS__ # IRIX: -g3 DEBUGFLAGS = -ggdb -D__WXDEBUG__ -# Debug/trace mode. 1 or more for memory debugging. -# Unfortunately this doesn't seem to work with GnuWin32 - get warning: -# ../../include/wx/memory.h:58: warning: declaration of `operator delete(void *)' -# throws different exceptions -# :58: warning: previous declaration here -# So setting to 0 for now. - -WXDEBUG=0 - WIN95=1 ifeq ($(WIN95),0) @@ -143,9 +138,10 @@ LDLIBS = $(LIBS) OBJDIR = objects$(GUISUFFIX) # You shouldn't need to change these... -CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DWXDEBUG='$(WXDEBUG)' $(WARN) $(OPT) -CFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DWXDEBUG='$(WXDEBUG)' $(WARN) $(OPT) -LDFLAGS = -Wl,--subsystem,windows -mwindows -L$(WXDIR)/lib +CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) +CFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) +WINDOWSLDFLAGS=-Wl,--subsystem,windows -mwindows +LDFLAGS = $(WINDOWSLDFLAGS) -L$(WXDIR)/lib .SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .c