]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.va
added some utils (tex2rtf, helpgen, makegen) to make system
[wxWidgets.git] / src / makeprog.va
CommitLineData
bed4d331
DW
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# Set WXDIR for your system
14WXDIR = j:\dev\wx2\wxWindows
15
16WXUSINGDLL=0
17
18!include $(WXDIR)\src\makeva.env
19
20all: $(PROGRAM).exe
21
22wx:
23 cd $(WXDIR)\src\os2
24 nmake -f makefile.va FINAL=$(FINAL)
25# cd $(THISDIR)
26
27wxclean:
28 cd $(WXDIR)\src\os2
29 nmake -f makefile.va clean
30# cd $(THISDIR)
31
32$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
33 @echo " Link::Linker "
34 $(LINK) @<<
35 /B" $(LINKFLAGS)" /Fe$@
36 $(LINKLIBS)
37 $(OBJECTS)
38 $(LIBS)
39<<
40 $(RC) $(PROGRAM).res $(PROGRAM).exe
41
42$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\os2\wx.rc
43 $(RC) -I $(WXDIR)\include -D __VISAGECPP__ -r $(PROGRAM).rc $(PROGRAM).res
44
45clean:
46 -erase $(OBJECTS)
47 -erase *.exe
48 -erase *.obj
49 -erase *.res
50 -erase *.map
51