git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
19 lines
334 B
Makefile
19 lines
334 B
Makefile
SRCS = example.c
|
|
TARGET = my-guile
|
|
IFILE = example.i
|
|
MKDIR = ..
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET):
|
|
$(MAKE) -f $(MKDIR)/Makefile \
|
|
SRCS='$(SRCS)' \
|
|
TARGET=$(TARGET) \
|
|
IFILE=$(IFILE) \
|
|
sub-all
|
|
|
|
clean::
|
|
$(MAKE) -f $(MKDIR)/Makefile TARGET='$(TARGET)' guile_clean
|
|
|
|
check: $(TARGET)
|
|
./$(TARGET) -s example.scm > /dev/null
|