]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeprog.vc
added wxListView class: this is going to be a wxListCtrl with human (inter)face
[wxWidgets.git] / src / makeprog.vc
... / ...
CommitLineData
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1999
5# Updated:
6# Copyright: (c) Julian Smart
7#
8# Makefile environment for building samples. Include this from
9# your own makefile.
10# Use FINAL=1 argument to nmake to build final version with no debugging
11# info
12
13# Set WXDIR for your system
14WXDIR = $(WXWIN)
15
16WXUSINGDLL=0
17
18!include $(WXDIR)\src\makevc.env
19
20!if "$(RM)" == ""
21RM= erase
22!endif
23
24all: $(PROGRAM).exe
25
26wx:
27 cd $(WXDIR)\src\msw
28 nmake -f makefile.vc FINAL=$(FINAL)
29# cd $(THISDIR)
30
31wxclean:
32 cd $(WXDIR)\src\msw
33 nmake -f makefile.vc clean
34# cd $(THISDIR)
35
36
37!if "$(wxUSE_GUI)" == ""
38wxUSE_GUI=1
39!endif
40
41!if "$(wxUSE_GUI)" == "1"
42
43#!if "$(WXUSINGDLL)" == "1"
44#DUMMYOBJ=
45#!endif
46
47$(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res
48 $(link) @<<
49-out:$(PROGRAM).exe
50$(LINKFLAGS)
51$(OBJECTS) $(DUMMYOBJ) $(PROGRAM).res
52$(LIBS)
53<<
54
55$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
56 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc
57
58!else
59
60$(PROGRAM).exe: $(WXLIB) $(OBJECTS)
61 $(link) @<<
62-out:$(PROGRAM).exe
63$(LINKFLAGS)
64$(OBJECTS) $(DUMMYOBJ)
65$(LIBS)
66<<
67
68!endif
69
70
71clean:
72 -$(RM) $(OBJECTS)
73 -$(RM) *.exe
74 -$(RM) *.res
75 -$(RM) *.map
76 -$(RM) *.sbr
77 -$(RM) *.pdb