diff --git a/demos/bombs/descrip.mms b/demos/bombs/descrip.mms index 2d2cdaaab4..83dfaba5e1 100644 --- a/demos/bombs/descrip.mms +++ b/demos/bombs/descrip.mms @@ -11,8 +11,13 @@ .ifdef __WXMOTIF__ CXX_DEFINE = /define=(__WXMOTIF__=1) .else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +.else CXX_DEFINE = .endif +.endif .suffixes : .cpp @@ -20,11 +25,22 @@ CXX_DEFINE = cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp all : - $(MMS)$(MMSQUALIFIERS) game.exe - -game.exe : game.obj bombs1.obj bombs.obj .ifdef __WXMOTIF__ + $(MMS)$(MMSQUALIFIERS) game.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) game_gtk.exe +.endif +.endif + +.ifdef __WXMOTIF__ +game.exe : game.obj bombs1.obj bombs.obj cxxlink game,bombs1,bombs,[--.lib]vms/opt +.else +.ifdef __WXGTK__ +game_gtk.exe : game.obj bombs1.obj bombs.obj + cxxlink/exec=game_gtk.exe game,bombs1,bombs,[--.lib]vms_gtk/opt +.endif .endif game.obj : game.cpp diff --git a/descrip.mms b/descrip.mms index a423211704..91baaad732 100644 --- a/descrip.mms +++ b/descrip.mms @@ -30,6 +30,8 @@ gtk : setup.h $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.gtk] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [--.demos.bombs] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [--.samples.minimal] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)