summaryrefslogtreecommitdiff
path: root/Examples/python/import_packages/split_modules/Makefile
blob: 37674108aa41d3ff7d904e75ca4acb3cd31dc4b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
TOP        = ../../..
LIBS       =

subdirs = builtin vanilla builtin_split vanilla_split \
          builtin_nopy3 vanilla_nopy3 builtin_split_nopy3 vanilla_split_nopy3

check: build
	for s in $(subdirs); do \
		(cd $$s && $(MAKE) check); \
	done

build:
	for s in $(subdirs); do \
		(cd $$s && $(MAKE) SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' build); \
	done

static:
	for s in $(subdirs); do \
		(cd $$s && $(MAKE) SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' static); \
	done

clean:
	$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' python_clean
	for s in $(subdirs); do \
		(cd $$s && $(MAKE) clean); \
	done