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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue