]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/descrip.mms
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git] / samples / controls / descrip.mms
index 4a714973df3a7b21f3bc554b2665ada6795dbb04..a636afcc24f621fb6cfdb93ddfd9d72d70e3d39f 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) controls.exe
+.else
+.ifdef __WXGTK__
+       $(MMS)$(MMSQUALIFIERS) controls_gtk.exe
+.endif
+.endif
 
-controls.exe : controls.obj
 .ifdef __WXMOTIF__
-       cxxlink controls,controls/opt
+controls.exe : controls.obj
+       cxxlink controls,[--.lib]vms/opt
+.else
+.ifdef __WXGTK__
+controls_gtk.exe : controls.obj
+       cxxlink/exec=controls_gtk.exe controls,[--.lib]vms_gtk/opt
+.endif
 .endif
 
 controls.obj : controls.cpp