]>
Commit | Line | Data |
---|---|---|
c48afe29 JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
de3d7096 JJ |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
5 | # Date : 24 August 2012 * | |
c48afe29 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) | |
c48afe29 | 14 | .else |
58e81f24 JJ |
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 | |
c48afe29 JJ |
19 | CXX_DEFINE = |
20 | .endif | |
58e81f24 | 21 | .endif |
c48afe29 JJ |
22 | |
23 | .suffixes : .cpp | |
24 | ||
25 | .cpp.obj : | |
26 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
27 | ||
28 | all : | |
58e81f24 | 29 | .ifdef __WXMOTIF__ |
c48afe29 | 30 | $(MMS)$(MMSQUALIFIERS) game.exe |
58e81f24 JJ |
31 | .else |
32 | .ifdef __WXGTK__ | |
33 | $(MMS)$(MMSQUALIFIERS) game_gtk.exe | |
34 | .endif | |
35 | .endif | |
c48afe29 | 36 | |
c48afe29 | 37 | .ifdef __WXMOTIF__ |
58e81f24 | 38 | game.exe : game.obj bombs1.obj bombs.obj |
82a564fa | 39 | cxxlink game,bombs1,bombs,[--.lib]vms/opt |
58e81f24 JJ |
40 | .else |
41 | .ifdef __WXGTK__ | |
42 | game_gtk.exe : game.obj bombs1.obj bombs.obj | |
43 | cxxlink/exec=game_gtk.exe game,bombs1,bombs,[--.lib]vms_gtk/opt | |
44 | .endif | |
c48afe29 JJ |
45 | .endif |
46 | ||
de3d7096 JJ |
47 | game.obj : game.cpp [--.include.wx]setup.h |
48 | bombs1.obj : bombs1.cpp [--.include.wx]setup.h | |
49 | bombs.obj : bombs.cpp [--.include.wx]setup.h |