swig/Examples/guile/matrix/Makefile
William S Fulton 13b66c997e Guile example makefiles - run some of the examples in the check target.
Still some are missing. Add some missing examples to check.list.
2013-04-20 02:27:57 +01:00

18 lines
333 B
Makefile

SRCS = matrix.c vector.c
TARGET = matrix
IFILE = package.i
MKDIR = ..
check: build
./$(TARGET) -e do-test -s matrix.scm
build:
$(MAKE) -f $(MKDIR)/Makefile \
SRCS='$(SRCS)' \
TARGET=$(TARGET) \
IFILE=$(IFILE) \
MODULE=$(MODULE) \
sub-all
clean:
$(MAKE) -f $(MKDIR)/Makefile TARGET='$(TARGET)' guile_clean