]> git.saurik.com Git - wxWidgets.git/blame - samples/resource/makefile.wat
Cured BC++ makefile bug; wxGrid fix; updated Motif install.txt
[wxWidgets.git] / samples / resource / makefile.wat
CommitLineData
457814b5
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 = hello
14LNK = $(name).lnk
15OBJS = $(name).obj
16
17PRECOMP=
18
19all: $(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
40clean: .SYMBOLIC
41 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
42