blob: 8a8e0e1c1adab2183e321d2444940a1985f6831b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
|