]> git.saurik.com Git - wxWidgets.git/blame - samples/grid/makefile.dos
Attempting to check in this wretched cursor again. Also added SetAcceleratorTable
[wxWidgets.git] / samples / grid / makefile.dos
CommitLineData
99025f6e
JS
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#
6b0eb19f 10# Makefile : Builds grid test example (DOS).
99025f6e
JS
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
6b0eb19f 18THISDIR = $(WXDIR)\samples\test
99025f6e
JS
19
20!ifndef FINAL
21FINAL=0
22!endif
23
99025f6e 24HEADERS =
6b0eb19f
JS
25SOURCES = test.$(SRCSUFF)
26OBJECTS = test.obj
99025f6e 27
6b0eb19f 28all: test.exe
99025f6e
JS
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
6b0eb19f 41test.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) test.obj test.def test.res
99025f6e 42 link $(LINKFLAGS) @<<
6b0eb19f
JS
43test.obj $(WXDIR)\src\msw\dummy.obj,
44test,
99025f6e
JS
45NUL,
46$(LIBS),
6b0eb19f 47test.def
99025f6e
JS
48;
49<<
6b0eb19f 50 rc -30 -K test.res
99025f6e 51
6b0eb19f 52test.obj: test.$(SRCSUFF)
99025f6e
JS
53 cl @<<
54$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
55<<
56
6b0eb19f
JS
57test.res : test.rc $(WXDIR)\include\wx\msw\wx.rc
58 rc -r /dFAFA_LIB /i$(WXDIR)\include test
99025f6e
JS
59
60clean:
61 -erase *.obj
62 -erase *.exe
63 -erase *.res
64 -erase *.map
65 -erase *.sbr
66 -erase *.pdb