* Add missing swig/rules.mk (thanks graz again ;)

This commit is contained in:
pancake 2010-01-14 12:37:41 +01:00
parent 3d738ba673
commit 607dd7ea99

19
swig/rules.mk Normal file
View File

@ -0,0 +1,19 @@
LIBS=r_bp.so r_asm.so r_diff.so r_debug.so r_hash.so r_cons.so
LIBS+=r_core.so r_search.so r_db.so r_lib.so
all: ${LIBS}
.SUFFIXES: .i .so
.i.so:
@if test $< -nt ${LIBS_PFX}$@ ; then \
cd .. && sh do-swig.sh ${LANG} `echo $@ | sed -e s,.so,,` ; \
fi
test:
-${LANG} test-r_bp.${LANG_EXT}
-${LANG} test-r_asm.${LANG_EXT}
clean:
rm -f *.so
.PHONY: all test clean