]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/makefile.b32
A bit of scrolling works under GTK 2.0
[wxWidgets.git] / src / stc / makefile.b32
index 7a74f314afdf214f63d43e95dd14e40c672ee1f1..72a60182abc1a00aa4a719df151a030039eca6da 100644 (file)
@@ -17,7 +17,7 @@ SCINTILLA=.\scintilla
 
 S=$(SCINTILLA)\src
 
-STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
+STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S)
 
 LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
 
@@ -34,6 +34,9 @@ OBJECTS = \
         KeyWords.obj           \
        LexAVE.obj              \
        LexAda.obj              \
+       LexBaan.obj             \
+       LexBullant.obj          \
+       LexMatlab.obj           \
        LexCPP.obj              \
        LexConf.obj             \
        LexCrontab.obj          \
@@ -62,16 +65,18 @@ OBJECTS = \
        ScintillaWX.obj         \
        stc.obj                 \
 
+STCCFG = stc.cfg
+STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
 
-!include $(WXDIR)\src\makelib.b32
+default: $(STCCFG) $(LIBTARGET)
 
-CFG = stc.cfg
-CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
 
 {$(S)}.cxx.obj:
-       bcc32 $(CPPFLAGS) -P -c {$< }
+       bcc32 $(STCCPPFLAGS) -P -c {$< }
+
 
-$(CFG): makefile.b32
+
+$(STCCFG): makefile.b32
        copy &&!
 -H=$(WXDIR)\src\msw\wx32.csm
 -3
@@ -97,5 +102,14 @@ $(OPT)
 $(DEBUG_FLAGS)
 $(WIN95FLAG)
 $(STCEXTRACPPFLAGS)
-! $(CFG)
+! $(STCCFG)
+
+
+!include $(WXDIR)\src\makelib.b32
+
+{$(S)}.cpp.obj:
+       bcc32 $(STCCPPFLAGS) -P -c {$< }
+
+.$(SRCSUFF).obj:
+       bcc32 $(STCCPPFLAGS) -c {$< }