]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/descrip.mms
Use wxDELETE() and wxDELETEA() when possible.
[wxWidgets.git] / samples / dialogs / descrip.mms
index 275f1834d7ef3122feecdfaa80d74b7e0657c3d4..951faea7692a08f0b947486c9e8732942640c8cf 100644 (file)
@@ -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