swig/Examples/guile/matrix/Makefile
Geert Janssens 7b9c302fa1 guile: fix matrix example
- add missing library in link phase
- empty true path () for if is not allowed
2013-04-28 22:06:27 +02:00

19 lines
350 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) \
LIBS="-lm" \
sub-all
clean:
$(MAKE) -f $(MKDIR)/Makefile TARGET='$(TARGET)' guile_clean