]> git.saurik.com Git - wxWidgets.git/blob - samples/grid/makefile.dos
Test for image conversion correctness.
[wxWidgets.git] / samples / grid / makefile.dos
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
14 WXDIR = $(WXWIN)
15
16 !include $(WXDIR)\src\makemsc.env
17
18 THISDIR = $(WXDIR)\samples\test
19
20 !ifndef FINAL
21 FINAL=0
22 !endif
23
24 HEADERS =
25 SOURCES = test.$(SRCSUFF)
26 OBJECTS = test.obj
27
28 all: test.exe
29
30 wx:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.dos FINAL=$(FINAL)
33 cd $(THISDIR)
34
35 wxclean:
36 cd $(WXDIR)\src\msw
37 nmake -f makefile.dos clean
38 cd $(THISDIR)
39
40
41 test.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) test.obj test.def test.res
42 link $(LINKFLAGS) @<<
43 test.obj $(WXDIR)\src\msw\dummy.obj,
44 test,
45 NUL,
46 $(LIBS),
47 test.def
48 ;
49 <<
50 rc -30 -K test.res
51
52 test.obj: test.$(SRCSUFF)
53 cl @<<
54 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
55 <<
56
57 test.res : test.rc $(WXDIR)\include\wx\msw\wx.rc
58 rc -r /dFAFA_LIB /i$(WXDIR)\include test
59
60 clean:
61 -erase *.obj
62 -erase *.exe
63 -erase *.res
64 -erase *.map
65 -erase *.sbr
66 -erase *.pdb