diff --git a/descrip.mms b/descrip.mms index 91baaad732..72f7eeb533 100644 --- a/descrip.mms +++ b/descrip.mms @@ -32,7 +32,9 @@ gtk : setup.h $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [--.demos.bombs] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) - set default [--.samples.minimal] + set default [--.samples.caret] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.minimal] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) motif : setup.h diff --git a/samples/caret/descrip.mms b/samples/caret/descrip.mms index 56acfb3d33..78972c1e90 100644 --- a/samples/caret/descrip.mms +++ b/samples/caret/descrip.mms @@ -11,8 +11,13 @@ .ifdef __WXMOTIF__ CXX_DEFINE = /define=(__WXMOTIF__=1) .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 +25,22 @@ CXX_DEFINE = cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp all : - $(MMS)$(MMSQUALIFIERS) caret.exe - -caret.exe : caret.obj .ifdef __WXMOTIF__ + $(MMS)$(MMSQUALIFIERS) caret.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) caret_gtk.exe +.endif +.endif + +.ifdef __WXMOTIF__ +caret.exe : caret.obj cxxlink caret,[--.lib]vms/opt +.else +.ifdef __WXGTK__ +caret_gtk.exe : caret.obj + cxxlink/exec=caret_gtk.exe caret,[--.lib]vms_gtk/opt +.endif .endif caret.obj : caret.cpp