]> git.saurik.com Git - wxWidgets.git/blob - samples/internat/makefile.dos
Added sashtest GTK makefiles (crashing bug to be solved); added typetest sample
[wxWidgets.git] / samples / internat / 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 internat 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\internat
19
20 !ifndef FINAL
21 FINAL=0
22 !endif
23
24 HEADERS =
25 SOURCES = internat.$(SRCSUFF)
26 OBJECTS = internat.obj
27
28 all: internat.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 internat.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) internat.obj internat.def internat.res
41 link $(LINKFLAGS) @<<
42 internat.obj $(WXDIR)\src\msw\dummy.obj,
43 internat,
44 NUL,
45 $(LIBS),
46 internat.def
47 ;
48 <<
49 rc -K internat.res
50
51 internat.obj: internat.$(SRCSUFF)
52 cl @<<
53 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
54 <<
55
56 internat.res : internat.rc $(WXDIR)\include\wx\msw\wx.rc
57 rc -r /i$(WXDIR)\include internat
58
59 clean:
60 -erase *.obj
61 -erase *.exe
62 -erase *.res
63 -erase *.map
64 -erase *.sbr
65 -erase *.pdb