X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82a564fa354a5823bdd1a832801bc229c704a459..d8eff331e23435d9d8d6483a40f6fd9997a13f87:/samples/dialogs/descrip.mms diff --git a/samples/dialogs/descrip.mms b/samples/dialogs/descrip.mms index 275f1834d7..951faea769 100644 --- a/samples/dialogs/descrip.mms +++ b/samples/dialogs/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) dialogs.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) dialogs_gtk.exe +.endif +.endif -dialogs.exe : dialogs.obj .ifdef __WXMOTIF__ - cxxlink dialogs,[--.lib]vms.opt/opt +dialogs.exe : dialogs.obj + cxxlink dialogs,[--.lib]vms/opt +.else +.ifdef __WXGTK__ +dialogs_gtk.exe : dialogs.obj + cxxlink/exec=dialogs_gtk.exe dialogs,[--.lib]vms_gtk/opt +.endif .endif dialogs.obj : dialogs.cpp