]> git.saurik.com Git - wxWidgets.git/blob - src/makeprog.va
wxADJUST_MIN definition (forgot to ci last time)
[wxWidgets.git] / src / makeprog.va
1 #
2 # File: makeprog.va
3 # Author: David Webster
4 # Created: 1999
5 # Updated:
6 # Copyright: (c) David Webster
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 all: $(PROGRAM).exe
14
15 wx:
16 cd $(WXDIR)\src\os2
17 nmake -f makefile.va FINAL=$(FINAL)
18 # cd $(THISDIR)
19
20 wxclean:
21 cd $(WXDIR)\src\os2
22 nmake -f makefile.va clean
23 # cd $(THISDIR)
24
25 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
26 @echo " Link::Linker "
27 $(LINK) @<<
28 /B" $(LINKFLAGS)" /Fe$@
29 $(LINKLIBS)
30 $(OBJECTS)
31 $(LIBS)
32 <<
33 $(RC) $(PROGRAM).res $(PROGRAM).exe
34
35 $(PROGRAM).res : $(PROGRAM).rcO $(WXDIR)\include\wx\os2\wx.rc
36 $(RC) -I $(WXDIR)\include -D __VISAGECPP__ -r $(PROGRAM).rcO $(PROGRAM).res
37
38 clean:
39 -erase $(OBJECTS)
40 -erase *.exe
41 -erase *.obj
42 -erase *.res
43 -erase *.map
44