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

@ -8,12 +8,13 @@ SWIGOPT =
GPP = `which g++`
MZC = test -n "/usr/bin/mzc" && /usr/bin/mzc
all::
check: build
$(MAKE) -f $(TOP)/Makefile mzscheme_run
build:
$(SWIG) -mzscheme -c++ $(SWIGOPT) $(INTERFACE)
$(MZC) --compiler $(GPP) ++ccf "-I." --cc example_wrap.cxx
$(MZC) --linker $(GPP) --ld $(TARGET).so example_wrap.o
clean:
$(MAKE) -f $(TOP)/Makefile mzscheme_clean
check: all