Fix running R examples and update docs about R CMD SHLIB

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-05-25 06:43:21 +00:00
commit 314d4f17de
4 changed files with 33 additions and 17 deletions

View file

@ -3,14 +3,13 @@ SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i
ARGS = SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)'
all::
$(MAKE) -f $(TOP)/Makefile $(ARGS) r
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' r
clean::
$(MAKE) -f $(TOP)/Makefile $(ARGS) r_clean
$(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' r_clean
check: all
R CMD BATCH runme.R