]>
Commit | Line | Data |
---|---|---|
33611ebb RR |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
30fbed20 JJ |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
5 | # Date : 9 October 2009 * | |
33611ebb RR |
6 | # * |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
12 | CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ | |
30fbed20 | 13 | /assume=(nostdnew,noglobal_array_new)/incl=([],[-]) |
33611ebb RR |
14 | .else |
15 | .ifdef __WXGTK__ | |
16 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
30fbed20 JJ |
17 | /assume=(nostdnew,noglobal_array_new)/incl=([],[-]) |
18 | .else | |
19 | .ifdef __WXGTK2__ | |
20 | CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
21 | /assume=(nostdnew,noglobal_array_new)/incl=([],[-]) | |
22 | .else | |
23 | .ifdef __WXX11__ | |
24 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
25 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-]) | |
33611ebb RR |
26 | .else |
27 | CXX_DEFINE = | |
28 | .endif | |
29 | .endif | |
30fbed20 JJ |
30 | .endif |
31 | .endif | |
33611ebb RR |
32 | |
33 | .suffixes : .cpp | |
34 | ||
35 | .cpp.obj : | |
36 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
37 | ||
38 | all : | |
39 | .ifdef __WXMOTIF__ | |
30fbed20 | 40 | $(MMS)$(MMSQUALIFIERS) erase.exe |
33611ebb RR |
41 | .else |
42 | .ifdef __WXGTK__ | |
30fbed20 JJ |
43 | $(MMS)$(MMSQUALIFIERS) erase_gtk.exe |
44 | .else | |
45 | .ifdef __WXGTK2__ | |
46 | $(MMS)$(MMSQUALIFIERS) erase_gtk2.exe | |
47 | .else | |
48 | .ifdef __WXX11__ | |
49 | $(MMS)$(MMSQUALIFIERS) erase_x11.exe | |
50 | .endif | |
33611ebb RR |
51 | .endif |
52 | .endif | |
30fbed20 JJ |
53 | .endif |
54 | ||
55 | OBJS=erase.obj | |
33611ebb RR |
56 | |
57 | .ifdef __WXMOTIF__ | |
30fbed20 JJ |
58 | erase.exe : $(OBJS) |
59 | cxxlink $(OBJS),[--.lib]vms/opt | |
33611ebb RR |
60 | .else |
61 | .ifdef __WXGTK__ | |
30fbed20 JJ |
62 | erase_gtk.exe : $(OBJS) |
63 | cxxlink/exec=erase_gtk.exe $(OBJS),[--.lib]vms_gtk/opt | |
64 | .else | |
65 | .ifdef __WXGTK2__ | |
66 | erase_gtk2.exe : $(OBJS) | |
67 | cxxlink/exec=erase_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt | |
68 | .else | |
69 | .ifdef __WXX11__ | |
70 | erase_x11.exe : $(OBJS) | |
71 | cxxlink/exec=erase_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt | |
72 | .endif | |
73 | .endif | |
33611ebb RR |
74 | .endif |
75 | .endif | |
76 | ||
30fbed20 | 77 | erase.obj : erase.cpp |