]> git.saurik.com Git - wxWidgets.git/blame - samples/mdi/makefile.nt
Daniel Gehriger <dgehrige@dmtsun.epfl.ch> patch for default extension filter
[wxWidgets.git] / samples / mdi / 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 mdi 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)
2e5dddb0 16WXUSINGDLL=0
c801d85f
KB
17
18!include $(WXDIR)\src\ntwxwin.mak
19
20THISDIR = $(WXDIR)\samples\mdi
21PROGRAM=mdi
22
23OBJECTS = $(PROGRAM).obj
24
25$(PROGRAM): $(PROGRAM).exe
26
27all: wx $(PROGRAM).exe
28
29wx:
30 cd $(WXDIR)\src\msw
31 nmake -f makefile.nt FINAL=$(FINAL)
32 cd $(THISDIR)
33
34wxclean:
35 cd $(WXDIR)\src\msw
36 nmake -f makefile.nt clean
37 cd $(THISDIR)
38
39$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
40 $(link) @<<
41-out:$(PROGRAM).exe
42$(LINKFLAGS)
43$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
44$(LIBS)
45<<
46
47
48$(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
49 $(cc) @<<
50$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
51<<
52
53$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
54 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
55
56
57clean:
58 -erase *.obj
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.sbr
63 -erase *.pdb