]> git.saurik.com Git - wxWidgets.git/blob - samples/joytest/makefile.dos
* fixed a wrong line.
[wxWidgets.git] / samples / joytest / 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 joytest 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\joytest
19 INC=/I$(WXDIR)\include
20
21 HEADERS = joytest.h
22 SOURCES = joytest.$(SRCSUFF)
23 OBJECTS = joytest.obj
24
25 all: joytest.exe
26
27 wx:
28 cd $(WXDIR)\src\msw
29 nmake -f makefile.dos
30 cd $(THISDIR)
31
32 wxclean:
33 cd $(WXDIR)\src\msw
34 nmake -f makefile.dos clean
35 cd $(THISDIR)
36
37
38 joytest.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) joytest.obj joytest.def joytest.res
39 link $(LINKFLAGS) @<<
40 $(WXDIR)\src\msw\dummy.obj joytest.obj,
41 joytest,
42 NUL,
43 $(LIBS),
44 joytest.def
45 ;
46 <<
47 rc -K joytest.res
48
49 joytest.obj: joytest.h joytest.$(SRCSUFF)
50 cl @<<
51 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52 <<
53
54 joytest.res : joytest.rc $(WXDIR)\include\wx\msw\wx.rc
55 rc -r /i$(WXDIR)\include joytest
56
57 clean:
58 -erase *.obj
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.sbr
63 -erase *.pdb