X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43dc9c15ef1e24e59afe3707b0b6f787233530e2..0e2ff151afc472efd2814c74add5ad4498709d33:/samples/dialogs/descrip.mms diff --git a/samples/dialogs/descrip.mms b/samples/dialogs/descrip.mms index e14d40d44e..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,dialogs/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