Mzscheme example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested.

This commit is contained in:
William S Fulton 2013-04-15 22:33:38 +01:00
commit 238554fe61
4 changed files with 31 additions and 11 deletions

View file

@ -4,10 +4,12 @@ SRCS = example.c
TARGET = example
INTERFACE = example.i
SWIGOPT =
all::
check: build
$(MAKE) -f $(TOP)/Makefile mzscheme_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' mzscheme
clean::
clean:
$(MAKE) -f $(TOP)/Makefile mzscheme_clean
check: all