diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-13 22:12:21 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-19 22:47:26 +0100 |
commit | bfb695c5120d88d6b41385682c55dcd807c51ff6 (patch) | |
tree | 02687dd47d92390adba8d0a1baa300f98913b1ad /Examples/r | |
parent | cc4ac0a9e93104ee435b50b9532dc1ca1a84bf03 (diff) | |
download | swig-bfb695c5120d88d6b41385682c55dcd807c51ff6.tar.gz |
R examples makefile tidyup
Diffstat (limited to 'Examples/r')
-rw-r--r-- | Examples/r/class/Makefile | 10 | ||||
-rw-r--r-- | Examples/r/simple/Makefile | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/Examples/r/class/Makefile b/Examples/r/class/Makefile index 0cd8ed3d3..8a64f49a9 100644 --- a/Examples/r/class/Makefile +++ b/Examples/r/class/Makefile @@ -4,12 +4,12 @@ CXXSRCS = example.cxx TARGET = example INTERFACE = example.i -all:: +check: build + $(MAKE) -f $(TOP)/Makefile r_run + +build: $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' r_cpp -clean:: +clean: $(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' r_clean - -check: all - R CMD BATCH runme.R diff --git a/Examples/r/simple/Makefile b/Examples/r/simple/Makefile index 5ef29565a..8a8e0e1c1 100644 --- a/Examples/r/simple/Makefile +++ b/Examples/r/simple/Makefile @@ -4,12 +4,12 @@ SRCS = example.c TARGET = example INTERFACE = example.i -all:: +check: build + $(MAKE) -f $(TOP)/Makefile r_run + +build: $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' r -clean:: +clean: $(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' r_clean - -check: all - R CMD BATCH runme.R |