summaryrefslogtreecommitdiff
path: root/Examples/r/simple/Makefile
blob: e01d3592523961ddc41d244beb66538ed1a6faed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TOP        = ../..
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

clean::
	$(MAKE) -f $(TOP)/Makefile $(ARGS) r_clean

check: all
	R CMD BATCH runme.R