]> git.saurik.com Git - wxWidgets.git/blob - samples/layout/makefile.wat
Rmoved more wxprop files
[wxWidgets.git] / samples / layout / 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 = layout
14 LNK = $(name).lnk
15 OBJS = $(name).obj
16
17 all: $(name).exe
18
19 $(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
20 wlink @$(LNK)
21 $(BINDCOMMAND) $(name).res
22
23 $(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
24 $(RC) $(RESFLAGS1) $(name).rc
25
26 $(LNK) : makefile.wat
27 %create $(LNK)
28 @%append $(LNK) debug all
29 @%append $(LNK) system $(LINKOPTION)
30 @%append $(LNK) $(MINDATA)
31 @%append $(LNK) $(MAXDATA)
32 @%append $(LNK) $(STACK)
33 @%append $(LNK) name $(name)
34 @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
35 @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
36 @for %i in ($(OBJS)) do @%append $(LNK) file %i
37
38 thing: .SYMBOLIC
39 echo $(WATLIBDIR)
40
41 clean: .SYMBOLIC
42 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
43
44