]> git.saurik.com Git - wxWidgets.git/blame - samples/minimal/makefile.nt
Fix to wxTreeCtrl::GetNextChild from Marcel Rasche. Corrected WXUSINGDLL in 2 makefiles.
[wxWidgets.git] / samples / minimal / makefile.nt
CommitLineData
c801d85f
KB
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds minimal example (MS VC++).
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
14# Set WXDIR for your system
15WXDIR = $(WXWIN)
16
2e5dddb0 17WXUSINGDLL=0
c801d85f
KB
18
19!include $(WXDIR)\src\ntwxwin.mak
20
21THISDIR = $(WXDIR)\samples\minimal
22PROGRAM=minimal
cfb88c55 23
c801d85f
KB
24OBJECTS = $(PROGRAM).obj
25
26$(PROGRAM): $(PROGRAM).exe
27
28all: wx $(PROGRAM).exe
29
30wx:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.nt FINAL=$(FINAL)
33 cd $(THISDIR)
34
35wxclean:
36 cd $(WXDIR)\src\msw
37 nmake -f makefile.nt clean
38 cd $(THISDIR)
39
40$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
41 $(link) @<<
42-out:$(PROGRAM).exe
43$(LINKFLAGS)
44$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
45$(LIBS)
46<<
47
48
49$(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
50 $(cc) @<<
51$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52<<
53
54$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
55 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
56
57
58clean:
59 -erase *.obj
60 -erase *.exe
61 -erase *.res
62 -erase *.map
63 -erase *.sbr
64 -erase *.pdb