]>
Commit | Line | Data |
---|---|---|
2b8e283d JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
c5782ace JJ |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
5 | # Date : 19 January 2009 * | |
2b8e283d JJ |
6 | # * |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
4dff3400 JJ |
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) | |
2b8e283d JJ |
18 | .else |
19 | CXX_DEFINE = | |
20 | .endif | |
4dff3400 | 21 | .endif |
2b8e283d JJ |
22 | |
23 | .suffixes : .cpp | |
24 | ||
25 | .cpp.obj : | |
26 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
27 | ||
28 | all : | |
4dff3400 | 29 | .ifdef __WXMOTIF__ |
2b8e283d | 30 | $(MMS)$(MMSQUALIFIERS) image.exe |
4dff3400 JJ |
31 | .else |
32 | .ifdef __WXGTK__ | |
33 | $(MMS)$(MMSQUALIFIERS) image_gtk.exe | |
34 | .endif | |
35 | .endif | |
2b8e283d | 36 | |
2b8e283d | 37 | .ifdef __WXMOTIF__ |
c5782ace JJ |
38 | image.exe : image.obj,canvas.obj |
39 | cxxlink image,canvas,[--.lib]vms/opt | |
4dff3400 JJ |
40 | .else |
41 | .ifdef __WXGTK__ | |
c5782ace JJ |
42 | image_gtk.exe : image.obj,canvas.obj |
43 | cxxlink/exec=image_gtk.exe image,canvas,[--.lib]vms_gtk/opt | |
4dff3400 | 44 | .endif |
2b8e283d JJ |
45 | .endif |
46 | ||
47 | image.obj : image.cpp | |
c5782ace | 48 | canvas.obj : canvas.cpp |