swig/Examples/r/simple/Makefile
2013-04-19 22:47:26 +01:00

15 lines
354 B
Makefile

TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i
check: build
$(MAKE) -f $(TOP)/Makefile r_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' r
clean:
$(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' r_clean