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