X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14e5a5ed1c1636c668eb4a69dfdb6514d8f240a6..c7e99122a0f181d199be3ec6c3928109c2bdf76b:/samples/menu/descrip.mms diff --git a/samples/menu/descrip.mms b/samples/menu/descrip.mms index 63dbc75c1d..27c45a393d 100644 --- a/samples/menu/descrip.mms +++ b/samples/menu/descrip.mms @@ -9,10 +9,16 @@ 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 +.endif .suffixes : .cpp @@ -20,11 +26,22 @@ CXX_DEFINE = cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp all : +.ifdef __WXMOTIF__ $(MMS)$(MMSQUALIFIERS) menu.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) menu_gtk.exe +.endif +.endif -menu.exe : menu.obj .ifdef __WXMOTIF__ - cxxlink menu,menu/opt +menu.exe : menu.obj + cxxlink menu,[--.lib]vms/opt +.else +.ifdef __WXGTK__ +menu_gtk.exe : menu.obj + cxxlink/exec=menu_gtk.exe menu,[--.lib]vms_gtk/opt +.endif .endif menu.obj : menu.cpp