| 1 |
srcdir = @srcdir@ |
| 2 |
top_builddir = @top_builddir@ |
| 3 |
top_srcdir = @top_srcdir@ |
| 4 |
|
| 5 |
include ../Makefile.ext |
| 6 |
|
| 7 |
SCM_CATEGORY = gauche |
| 8 |
|
| 9 |
LIBFILES = gauche--ffitest.$(SOEXT) |
| 10 |
SCMFILES = ffitest.sci |
| 11 |
|
| 12 |
OBJECTS = gauche--ffitest.$(OBJEXT) |
| 13 |
|
| 14 |
CONFIG_GENERATED = Makefile |
| 15 |
PREGENERATED = |
| 16 |
XCLEANFILES = gauche--ffitest.c ffitest.sci test/f.$(SOEXT) |
| 17 |
|
| 18 |
all : $(LIBFILES) test/f.$(SOEXT) |
| 19 |
|
| 20 |
gauche--ffitest.$(SOEXT) : $(OBJECTS) |
| 21 |
$(MODLINK) gauche--ffitest.$(SOEXT) $(OBJECTS) $(EXT_LIBGAUCHE) $(LIBS) |
| 22 |
|
| 23 |
gauche--ffitest.c ffitest.sci : ffitest.scm |
| 24 |
$(PRECOMP) -e -P -o gauche--ffitest $(srcdir)/ffitest.scm |
| 25 |
|
| 26 |
test/f.$(SOEXT) : test/f.h test/f.c |
| 27 |
mkdir -p test |
| 28 |
$(COMPILE) -c $(srcdir)/test/f.c |
| 29 |
$(LINK) test/f.$(SOEXT) f.$(OBJEXT) |
| 30 |
|
| 31 |
# We don't install the module. |
| 32 |
install : |