]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/bombs/descrip.mms
improved conditional compilation since generic grid and new grid are exclusive
[wxWidgets.git] / demos / bombs / descrip.mms
index 2d2cdaaab444f923fecccb17d585d5e50147c38d..25a4c3c5ab8d12659883c8000d4c5a1f1c12940e 100644 (file)
@@ -9,10 +9,16 @@
        define wx [--.include.wx]
 
 .ifdef __WXMOTIF__
        define wx [--.include.wx]
 
 .ifdef __WXMOTIF__
-CXX_DEFINE = /define=(__WXMOTIF__=1)
+CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
+          /assume=(nostdnew,noglobal_array_new)
+.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
 .else
 CXX_DEFINE =
 .endif
+.endif
 
 .suffixes : .cpp
 
 
 .suffixes : .cpp
 
@@ -20,11 +26,22 @@ CXX_DEFINE =
        cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
 
 all :
        cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
 
 all :
+.ifdef __WXMOTIF__
        $(MMS)$(MMSQUALIFIERS) game.exe
        $(MMS)$(MMSQUALIFIERS) game.exe
+.else
+.ifdef __WXGTK__
+       $(MMS)$(MMSQUALIFIERS) game_gtk.exe
+.endif
+.endif
 
 
-game.exe : game.obj bombs1.obj bombs.obj
 .ifdef __WXMOTIF__
 .ifdef __WXMOTIF__
+game.exe : game.obj bombs1.obj bombs.obj
        cxxlink game,bombs1,bombs,[--.lib]vms/opt
        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
 .endif
 
 game.obj : game.cpp