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

@ -4,7 +4,10 @@ SRCS = example.c
TARGET = example
INTERFACE = example.i
all:
check: build
$(MAKE) -f $(TOP)/Makefile pike_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' pike
@ -14,5 +17,3 @@ static:
clean:
$(MAKE) -f $(TOP)/Makefile pike_clean
check: all