swig/SWIG/Examples/guile/Makefile.in
Thien-Thi Nguyen cc2eba5af2 Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:13:50 +00:00

27 lines
570 B
Makefile

# Makefile for Guile. Used by all of the example programs.
subdirs = simple matrix
top_srcdir = @top_srcdir@
GUILEINCLUDE = @GUILEINCLUDE@
GUILELINK = @GUILELINK@
WRAP = $(IFILE:.i=_wrap.c)
all:
for d in $(subdirs) ; do (cd $$d ; $(MAKE)) ; done
clean::
cd simple; make clean
cd matrix; make clean
rm -f *~ .~*
# This is meant to be used w/ "make -f ../Makefile" from subdirs.
# Doesn't make sense to use it from here.
sub-all::
../$(top_srcdir)/swig -guile $(IFILE)
$(CC) -o $(TARGET) $(SRCS) $(WRAP) $(GUILEINCLUDE) $(GUILELINK)
# Makefile ends here