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

@ -5,15 +5,16 @@ TARGET = example
INTERFACE = example.i
LIBS = -lstdc++ -lm
all::
check: build
$(MAKE) -f $(TOP)/Makefile pike_run
build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' pike_cpp
static::
static:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='mypike' INTERFACE='$(INTERFACE)' pike_cpp_static
clean::
clean:
$(MAKE) -f $(TOP)/Makefile pike_clean
check: all