Pike 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:49:12 +01:00
commit 9a6167822b
7 changed files with 39 additions and 26 deletions

View file

@ -6,7 +6,10 @@ INTERFACE = example.i
LIBS = -lm
SWIGOPT =
all:
check: build
$(MAKE) -f $(TOP)/Makefile pike_run
build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' pike_cpp
@ -16,5 +19,3 @@ static:
clean:
$(MAKE) -f $(TOP)/Makefile pike_clean
check: all