]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/stc/makefile.vc
compilation fix for Watcom
[wxWidgets.git] / contrib / src / stc / makefile.vc
CommitLineData
9ce192d4
RD
1# File: makefile.vc For stectrl
2# Author: Robin Dunn
3# Created: 1-Feb-2000
4# Updated:
5
6
7
8# Set WXDIR for your system
9WXDIR = $(WXWIN)
10SCINTILLA=.\scintilla
11S=$(SCINTILLA)\src
12EXTRAINC=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)\contrib\include
13NOPCH=1
14
15!include $(WXDIR)\src\makevc.env
16
17OBJECTS = \
b8b0e402
RD
18 $(D)\AutoComplete.obj \
19 $(D)\CallTip.obj \
20 $(D)\CellBuffer.obj \
21 $(D)\ContractionState.obj \
22 $(D)\Document.obj \
23 $(D)\DocumentAccessor.obj \
24 $(D)\Editor.obj \
25 $(D)\Indicator.obj \
26 $(D)\KeyMap.obj \
27 $(D)\KeyWords.obj \
28 $(D)\LexAVE.obj \
29 $(D)\LexAda.obj \
30 $(D)\LexCPP.obj \
31 $(D)\LexConf.obj \
32 $(D)\LexCrontab.obj \
33 $(D)\LexEiffel.obj \
34 $(D)\LexHTML.obj \
35 $(D)\LexLisp.obj \
36 $(D)\LexLua.obj \
37 $(D)\LexOthers.obj \
38 $(D)\LexPascal.obj \
39 $(D)\LexPerl.obj \
40 $(D)\LexPython.obj \
41 $(D)\LexRuby.obj \
42 $(D)\LexSQL.obj \
43 $(D)\LexVB.obj \
44 $(D)\LineMarker.obj \
45 $(D)\PropSet.obj \
46 $(D)\RESearch.obj \
47 $(D)\ScintillaBase.obj \
48 $(D)\Style.obj \
49 $(D)\StyleContext.obj \
50 $(D)\UniConversion.obj \
51 $(D)\ViewStyle.obj \
52 $(D)\WindowAccessor.obj \
9ce192d4
RD
53 \
54 $(D)\PlatWX.obj \
55 $(D)\ScintillaWX.obj \
56 $(D)\stc.obj \
57
58
35820dcb 59LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib
9ce192d4
RD
60
61all: $(D) $(LIBTARGET)
62
63$(D) :
64 mkdir $(D)
65
66wx:
67 cd $(WXDIR)\src\msw
68 nmake -f makefile.vc FINAL=$(FINAL)
69 cd $(THISDIR)
70
71wxclean:
72 cd $(WXDIR)\src\msw
73 nmake -f makefile.vc clean
74 cd $(THISDIR)
75
76
77
78
79$(LIBTARGET): $(OBJECTS)
80 -erase $(LIBTARGET)
81 $(implib) @<<
82-out:$(LIBTARGET)
83-machine:$(CPU)
84$(OBJECTS)
85<<
86
87
9ce192d4
RD
88
89{$(S)}.cxx{$(D)}.obj:
90 $(cc) @<<
91$(CPPFLAGS) /c /Fo$@ /Tp $<
92<<
93
94{}.cpp{$(D)}.obj:
95 $(cc) @<<
96$(CPPFLAGS) /c /Fo$@ /Tp $<
97<<
98
99
100show:
101 @echo $(CPPFLAGS)
102
103
104clean:
105 -erase $(D)\*.obj
106 -erase *.sbr
107 -erase *.exe
108 -erase *.res
109 -erase *.map
110 -erase *.pdb
111 -erase $(LIBTARGET)
112