]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeg95.env
1. status bar can now be positioned on top (and anywhere, in fact)
[wxWidgets.git] / src / makeg95.env
index ee90e2a380e70bba15a9b45d90b3a377442638ed..96f2088a8019775829e989dee2aa600e5a44f429 100644 (file)
@@ -180,11 +180,14 @@ endif
 
 RCLFLAGS=-cpp "cpp -lang-c++ -DWIN32 -D_WIN32 -DRCL_INVOKED -I$(WXWIN)/include"
 
+# GRG, Mar/2000 - introduced PREEXTRALIBS for libs that use libwx
+# themselves (needed for the Scintilla editor)
+
 ifdef WXUSINGDLL
   # png, jpeg, etc are exported from wx dll, so skip and save on link time.
-  LIBS = $(WXLIB) $(WINLIBS) $(COMPLIBS) $(EXTRALIBS)
+  LIBS = $(PREEXTRALIBS) $(WXLIB) $(WINLIBS) $(COMPLIBS) $(EXTRALIBS)
 else
-  LIBS = $(WXLIB) -lpng -ljpeg -lzlib -lxpm -ltiff $(WINLIBS) $(COMPLIBS) $(EXTRALIBS)
+  LIBS = $(PREEXTRALIBS) $(WXLIB) -lpng -ljpeg -lzlib -lxpm -ltiff $(WINLIBS) $(COMPLIBS) $(EXTRALIBS)
 endif
 
 WINFLAGS=-D_X86_=1 -DWIN32 -D_WIN32 $(WINVERSION)
@@ -215,13 +218,16 @@ CFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) $(EXT
 WINDOWSLDFLAGS=-Wl,--subsystem,windows -mwindows
 LDFLAGS = $(WINDOWSLDFLAGS) -L$(WXDIR)/lib -L$(WXDIR)/contrib/lib $(EXTRALDFLAGS)
 
-.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .c
-
+.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .cxx .c
 
 .c.o:
        $(CC) -c $(CFLAGS) -o $@ $*.c
 
+.cxx.o:
+       $(CC) -c $(CPPFLAGS) -o $@ $*.cxx
+
 .$(SRCSUFF).$(OBJSUFF):
        $(CC) -c $(CPPFLAGS) -o $@ $*.$(SRCSUFF)
 
 
+