]>
Commit | Line | Data |
---|---|---|
14d1ccd8 JS |
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 = test | |
14 | LNK = $(name).lnk | |
15 | OBJS = $(name).obj | |
16 | THISDIR = $(WXDIR)\samples\buttnbar | |
17 | ||
18 | all: $(name).exe | |
19 | ||
20 | wx: .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 | ||
44 | thing: .SYMBOLIC | |
45 | echo $(WATLIBDIR) | |
46 | ||
47 | clean: .SYMBOLIC | |
48 | -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex | |
49 |