summaryrefslogtreecommitdiff
path: root/ndb/examples/Makefile
blob: e1fb71a1817d88a9f1e96f986ffe5accb1d00a23 (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
-include .defs.mk

#ifneq ($(C++),)
#OPTS = CC=$(CC) CXX=$(C++)
#endif

# XXX ndbapi_example4 commented out until fixed
BIN_DIRS := ndbapi_example1 ndbapi_example2 ndbapi_example3  $(ndbapi_example4) \
	    ndbapi_example5 select_all

bins: $(patsubst %, _bins_%, $(BIN_DIRS))

$(patsubst %, _bins_%, $(BIN_DIRS)) :
	$(MAKE) -C $(patsubst _bins_%, %, $@) $(OPTS)

libs:

clean:
	for f in ${BIN_DIRS}; do \
		$(MAKE) -C $$f $@;\
	done

cleanall: clean
tidy: clean
distclean: clean