Mzscheme example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested.
This commit is contained in:
parent
a6e2ee8580
commit
238554fe61
4 changed files with 31 additions and 11 deletions
|
|
@ -695,6 +695,13 @@ modula3: $(SRCS)
|
|||
modula3_cpp: $(SRCS)
|
||||
$(SWIG) -modula3 -c++ $(SWIGOPT) $(INTERFACEPATH)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Run modula3 example
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
modula3_run:
|
||||
$(RUNTOOL) false $(RUNPIPE)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Version display
|
||||
# -----------------------------------------------------------------
|
||||
|
|
@ -719,6 +726,7 @@ MZSCHEME = mzscheme
|
|||
MZC = @MZC@
|
||||
MZDYNOBJ = @MZDYNOBJ@
|
||||
MZSCHEME_SO = @MZSCHEME_SO@
|
||||
MZSCHEME_SCRIPT = $(RUNME).scm
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# Build a C/C++ dynamically loadable module
|
||||
|
|
@ -734,6 +742,13 @@ mzscheme_cpp: $(SRCS)
|
|||
$(COMPILETOOL) $(MZC) `echo $(INCLUDES) | sed 's/-I/++ccf -I/g'` --cc $(ICXXSRCS) $(SRCS) $(CXXSRCS)
|
||||
$(CXXSHARED) $(CFLAGS) -o $(LIBPREFIX)$(TARGET)$(MZSCHEME_SO) $(OBJS) $(IOBJS) $(MZDYNOBJ) $(CPP_DLLIBS)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Run mzscheme example
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
mzscheme_run:
|
||||
$(RUNTOOL) $(MZSCHEME) -r $(MZSCHEME_SCRIPT) $(RUNPIPE)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Version display
|
||||
# -----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue