-# Gizmos makefile for Watcom C++
+# STC makefile for Watcom C++
WXDIR = ..\..\..
-EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
-!include $(WXDIR)\src\makewat.env
-
SCINTILLA=$(WXDIR)\contrib\src\stc\scintilla
-
S=$(SCINTILLA)\src
-
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)\include -I$(S)
-STCLIB = $(WXDIR)\lib\stc.lib
+EXTRACPPFLAGS = -I$(WXDIR)\contrib\include $(STCEXTRACPPFLAGS)
+
+!include $(WXDIR)\src\makewat.env
+
+STCLIB = $(WXDIR)\lib\stc_w.lib
THISDIR = $(WXDIR)\contrib\src\stc
OUTPUTDIR = $(THISDIR)\
-EXTRACPPFLAGS = -I$(WXDIR)\contrib\include $(STCEXTRACPPFLAGS)
+
NAME = stc
LNK = $(name).lnk
KeyWords.obj &
LexAVE.obj &
LexAda.obj &
+ LexAsm.obj &
LexBaan.obj &
LexBullant.obj &
LexMatlab.obj &
LexCPP.obj &
LexConf.obj &
LexCrontab.obj &
+ LexCSS.obj &
LexEiffel.obj &
+ LexFortran.obj &
LexHTML.obj &
LexLisp.obj &
LexLua.obj &
LexOthers.obj &
+ LexPOV.obj &
LexPascal.obj &
LexPerl.obj &
LexPython.obj &
UniConversion.obj &
ViewStyle.obj &
WindowAccessor.obj &
+ XPM.obj &
PlatWX.obj &
ScintillaWX.obj &
- stc.obj
+ stc.obj
all: $(STCLIB) .SYMBOLIC
*wlib /b /c /n /P=256 $(STCLIB) $(OBJECTS)
clean: .SYMBOLIC
- -erase *.obj *.bak *.err *.pch $(STCLIB) *.lbc
+ -erase *.obj
+ -erase *.bak
+ -erase *.err
+ -erase *.pch
+ -erase $(STCLIB)
+ -erase *.lbc
.EXTENSIONS: .cxx
.cxx: $(S)
.cxx.obj:
- wpp386 $[*.cxx /w3 -zv $(STCEXTRACPPFLAGS) -I$(WXDIR)\include -I$(ARCHINCDIR)
+ $(CXX) $[*.cxx $(CXXFLAGS) $(STCEXTRACPPFLAGS)