aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/binary/makefile
blob: e093bf1dff167bb2510128765c738b2ea6715753 (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
27
28
29
30
31
32
33
34
35
root := ../../../..

include $(root)/build/config.make

dirs :=

ifeq ($(XSDE_IOSTREAM),y)
ifeq ($(XSDE_EXCEPTIONS),y)

ifeq ($(XSDE_STL),y)
dirs += custom
endif

ifeq ($(XSDE_CDR),y)
dirs += cdr
endif

ifeq ($(XSDE_XDR),y)
dirs += xdr
endif

endif
endif

.PHONY: all $(dirs)

all: $(dirs)

$(dirs):
	@$(MAKE) -C $@ $(MAKECMDGOALS)

makefile: ;
%.make:: ;

%:: $(dirs) ;