]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeprog.va
added a few comments and remove $(COPYSEP)
[wxWidgets.git] / src / makeprog.va
... / ...
CommitLineData
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 and environment variable to point to WXDIR for your system
14WXDIR = $(WXWIN)
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).rcO $(WXDIR)\include\wx\os2\wx.rc
43 $(RC) -I $(WXDIR)\include -D __VISAGECPP__ -r $(PROGRAM).rcO $(PROGRAM).res
44
45clean:
46 -erase $(OBJECTS)
47 -erase *.exe
48 -erase *.obj
49 -erase *.res
50 -erase *.map
51