]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 3 October 2009 * | |
6 | # * | |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
12 | CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ | |
13 | /assume=(nostdnew,noglobal_array_new) | |
14 | .else | |
15 | .ifdef __WXGTK__ | |
16 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
17 | /assume=(nostdnew,noglobal_array_new) | |
18 | .else | |
19 | CXX_DEFINE = | |
20 | .endif | |
21 | .endif | |
22 | ||
23 | .suffixes : .cpp | |
24 | ||
25 | .cpp.obj : | |
26 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
27 | ||
28 | all : | |
29 | .ifdef __WXMOTIF__ | |
30 | $(MMS)$(MMSQUALIFIERS) forty.exe | |
31 | .else | |
32 | .ifdef __WXGTK__ | |
33 | $(MMS)$(MMSQUALIFIERS) forty_gtk.exe | |
34 | .endif | |
35 | .endif | |
36 | ||
37 | OBJS=canvas.obj,card.obj,forty.obj,game.obj,pile.obj,playerdg.obj,scoredg.obj,\ | |
38 | scorefil.obj | |
39 | ||
40 | .ifdef __WXMOTIF__ | |
41 | forty.exe : $(OBJS) | |
42 | cxxlink/exec=forty.exe $(OBJS),[--.lib]vms/opt | |
43 | .else | |
44 | .ifdef __WXGTK__ | |
45 | forty_gtk.exe : $(OBJS) | |
46 | cxxlink/exec=forty_gtk.exe $(OBJS),[--.lib]vms_gtk/opt | |
47 | .endif | |
48 | .endif | |
49 | ||
50 | canvas.obj : canvas.cpp | |
51 | card.obj : card.cpp | |
52 | forty.obj : forty.cpp | |
53 | game.obj : game.cpp | |
54 | pile.obj : pile.cpp | |
55 | playerdg.obj : playerdg.cpp | |
56 | scoredg.obj : scoredg.cpp | |
57 | scorefil.obj : scorefil.cpp |