]> git.saurik.com Git - wxWidgets.git/blame - samples/toolbar/makefile.wat
wxFrame::CreateToolBar() stuff
[wxWidgets.git] / samples / toolbar / makefile.wat
CommitLineData
14d1ccd8
JS
1#
2# Makefile for WATCOM
3#
4# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
5# 8 Nov 1994
6#
7
8WXDIR = ..\..
9
10!include $(WXDIR)\src\makewat.env
11
12WXLIB = $(WXDIR)\lib
13NAME = test
14LNK = $(name).lnk
15OBJS = $(name).obj
16THISDIR = $(WXDIR)\samples\buttnbar
17
18all: $(name).exe
19
20wx: .SYMBOLIC
21 cd $(WXDIR)\src\msw
22 wmake -f makefile.wat all
23 cd $(THISDIR)
24
25$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
26 wlink @$(LNK)
27 $(BINDCOMMAND) $(name).res
28
29$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
30 $(RC) $(RESFLAGS1) $(name).rc
31
32$(LNK) : makefile.wat
33 %create $(LNK)
34 @%append $(LNK) debug all
35 @%append $(LNK) system $(LINKOPTION)
36 @%append $(LNK) $(MINDATA)
37 @%append $(LNK) $(MAXDATA)
38 @%append $(LNK) $(STACK)
39 @%append $(LNK) name $(name)
40 @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
41 @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
42 @for %i in ($(OBJS)) do @%append $(LNK) file %i
43
44thing: .SYMBOLIC
45 echo $(WATLIBDIR)
46
47clean: .SYMBOLIC
48 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
49