]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/grid/makefile.dos
Small modification
[wxWidgets.git] / samples / grid / makefile.dos
... / ...
CommitLineData
1#
2# File: makefile.dos
3# Author: Julian Smart
4# Created: 1993
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds grid test example (DOS).
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
14WXDIR = $(WXWIN)
15
16!include $(WXDIR)\src\makemsc.env
17
18THISDIR = $(WXDIR)\samples\test
19
20!ifndef FINAL
21FINAL=0
22!endif
23
24HEADERS =
25SOURCES = test.$(SRCSUFF)
26OBJECTS = test.obj
27
28all: test.exe
29
30wx:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.dos FINAL=$(FINAL)
33 cd $(THISDIR)
34
35wxclean:
36 cd $(WXDIR)\src\msw
37 nmake -f makefile.dos clean
38 cd $(THISDIR)
39
40
41test.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) test.obj test.def test.res
42 link $(LINKFLAGS) @<<
43test.obj $(WXDIR)\src\msw\dummy.obj,
44test,
45NUL,
46$(LIBS),
47test.def
48;
49<<
50 rc -30 -K test.res
51
52test.obj: test.$(SRCSUFF)
53 cl @<<
54$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
55<<
56
57test.res : test.rc $(WXDIR)\include\wx\msw\wx.rc
58 rc -r /dFAFA_LIB /i$(WXDIR)\include test
59
60clean:
61 -erase *.obj
62 -erase *.exe
63 -erase *.res
64 -erase *.map
65 -erase *.sbr
66 -erase *.pdb