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