]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/stc/makefile.vc
These two makefiles were *horrid* abominations.
[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 = \
18 $(D)\Accessor.obj \
19 $(D)\AutoComplete.obj \
20 $(D)\CallTip.obj \
21 $(D)\CellBuffer.obj \
22 $(D)\ContractionState.obj\
23 $(D)\Document.obj \
24 $(D)\Editor.obj \
25 $(D)\Indicator.obj \
26 $(D)\KeyMap.obj \
27 $(D)\KeyWords.obj \
28 $(D)\LineMarker.obj \
29 $(D)\PropSet.obj \
30 $(D)\ScintillaBase.obj \
31 $(D)\Style.obj \
32 $(D)\ViewStyle.obj \
33 \
34 $(D)\PlatWX.obj \
35 $(D)\ScintillaWX.obj \
36 $(D)\stc.obj \
37
38
39
40
41LIBTARGET = $(WXDIR)\contrib\lib\stc$(LIBEXT).lib
42
43all: $(D) $(LIBTARGET)
44
45$(D) :
46 mkdir $(D)
47
48wx:
49 cd $(WXDIR)\src\msw
50 nmake -f makefile.vc FINAL=$(FINAL)
51 cd $(THISDIR)
52
53wxclean:
54 cd $(WXDIR)\src\msw
55 nmake -f makefile.vc clean
56 cd $(THISDIR)
57
58
59
60
61$(LIBTARGET): $(OBJECTS)
62 -erase $(LIBTARGET)
63 $(implib) @<<
64-out:$(LIBTARGET)
65-machine:$(CPU)
66$(OBJECTS)
67<<
68
69
9ce192d4
RD
70
71{$(S)}.cxx{$(D)}.obj:
72 $(cc) @<<
73$(CPPFLAGS) /c /Fo$@ /Tp $<
74<<
75
76{}.cpp{$(D)}.obj:
77 $(cc) @<<
78$(CPPFLAGS) /c /Fo$@ /Tp $<
79<<
80
81
82show:
83 @echo $(CPPFLAGS)
84
85
86clean:
87 -erase $(D)\*.obj
88 -erase *.sbr
89 -erase *.exe
90 -erase *.res
91 -erase *.map
92 -erase *.pdb
93 -erase $(LIBTARGET)
94