summaryrefslogtreecommitdiff
path: root/c++-build.mak
blob: bc647ceb8ff0f5a47da6bd96adc94d04aa1f0b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include build.mak
include build/host-$(HOST_NAME).mak

DIRS = pjlib pjlib-util pjnath pjmedia pjsip

ifdef MINSIZE
MAKE_FLAGS := MINSIZE=1
endif

export CPP_MODE=1

all clean dep depend distclean doc print realclean:
	for dir in $(DIRS); do \
		if $(MAKE) $(MAKE_FLAGS) -C $$dir/build $@; then \
		    true; \
		else \
		    exit 1; \
		fi; \
	done