X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01dba85a7fc9a1103f866c7c3a5cc72f21c0784e..c9c436eb705b30e378c65a17bf700afe14752259:/src/makeg95.env?ds=sidebyside diff --git a/src/makeg95.env b/src/makeg95.env index 36a2a1d03a..4a895237c3 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -16,7 +16,7 @@ MINGW32VERSION=2.95 RM=rm -f # Set to the appropriate copy command -COPY=cp +COPY=copy ########################## Compiler ################################## @@ -60,7 +60,8 @@ RESFLAGS=$(RCINCSWITCH) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) ########################## Compiler flags ############################# # Miscellaneous compiler options -OPTIONS= -DSTRICT # -D__MINGW32__ +# GRG: the __MINGW32__ option is not needed anymore +OPTIONS = -DSTRICT # -D__MINGW32__ # Debugging information DEBUGFLAGS = -D__WXDEBUG__ @@ -141,15 +142,15 @@ ifeq ($(MINGW32),1) endif ifeq ($(MINGW32),1) -INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib $(EXTRAINC) $(COMPPATHS) +INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(WXDIR)/src/xpm $(EXTRAINC) $(COMPPATHS) else -INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib $(EXTRAINC) $(COMPPATHS) -I$(WXDIR)/include/wx/msw/gnuwin32 +INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/jpeg -I$(WXDIR)/src/zlib -I$(WXDIR)/src/xpm $(EXTRAINC) $(COMPPATHS) -I$(WXDIR)/include/wx/msw/gnuwin32 endif RCLFLAGS=-cpp "cpp -lang-c++ -DWIN32 -D_WIN32 -DRCL_INVOKED -I$(WXWIN)/include" #LIBS = $(WXLIB) $(WXDIR)/lib/libzlib.a $(WXDIR)/lib/libpng.a $(WXDIR)/lib/libjpeg.a $(WINLIBS) $(COMPLIBS) $(EXTRALIBS) -LIBS = $(WXLIB) -lpng -ljpeg -lzlib $(WINLIBS) $(COMPLIBS) $(EXTRALIBS) +LIBS = $(WXLIB) -lpng -ljpeg -lzlib -lxpm $(WINLIBS) $(COMPLIBS) $(EXTRALIBS) WINFLAGS=-D_X86_=1 -DWIN32 -D_WIN32 $(WINVERSION) @@ -174,6 +175,6 @@ LDFLAGS = $(WINDOWSLDFLAGS) -L$(WXDIR)/lib $(EXTRALDFLAGS) $(CC) -c $(CPPFLAGS) -o $@ $*.$(SRCSUFF) .c.o: - $(CC) -c $(CPPFLAGS) -o $@ $*.c + $(CC) -c $(CFLAGS) -o $@ $*.c