]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/minimal/makefile.wat
fixed arguments to make it wxMSW compatible
[wxWidgets.git] / samples / minimal / makefile.wat
... / ...
CommitLineData
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 = minimal
14LNK = $(name).lnk
15OBJS = $(name).obj
16
17all: $(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
38thing: .SYMBOLIC
39 echo $(WATLIBDIR)
40
41clean: .SYMBOLIC
42 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe
43