swig/Examples/guile/constants/Makefile
William S Fulton d974e9aced Guile examples consistency changes
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).

Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.

Add class example to examples being tested.
2013-05-09 18:35:18 +01:00

18 lines
345 B
Makefile

SRCS =
TARGET = my-guile
IFILE = example.i
MKDIR = ..
TOP = ../..
check: build
$(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' guile_embedded_run
build:
$(MAKE) -f $(MKDIR)/Makefile \
SRCS='$(SRCS)' \
TARGET=$(TARGET) \
IFILE=$(IFILE) \
sub-all
clean:
$(MAKE) -f $(MKDIR)/Makefile TARGET='$(TARGET)' guile_clean