1 # developer makefile, replaces automake Makefile
5 export CFLAGS_ := $(CFLAGS)
7 cpus:=$(shell grep -c "^proc" /proc/cpuinfo)
8 jobs:=-j$(shell echo $$(($(cpus) + $(cpus)/2 +2)))
9 MAKEJ := $(MAKE) $(jobs)
11 SUBDIRS := thirdparty libzmpeg3 mpeg2enc mplexlo\
12 db guicast cinelerra plugins doc po
16 +for dir in $(SUBDIRS); do $(MAKEJ) -C $$dir all; done
19 for dir in $(SUBDIRS); do $(MAKE) -C $$dir clean; done
20 rm -rf thirdparty/opencv*
25 for dir in $(SUBDIRS); do $(MAKE) -C $$dir install; done
26 cp -a COPYING README models Cinelerra_factory ffmpeg msg info tips bin/.
27 cp -a lv2_blacklist.txt bin/.
28 mkdir -p bin/plugins/picon/cinfinity; for d in picon/*; do \
29 if [ $$d = picon/cinfinity ]; then continue; fi; \
30 cp -a $$d bin/plugins/picon/.; \
34 $(MAKE) -C guicast clean
35 $(MAKE) -C cinelerra clean
36 $(MAKE) -C plugins clean
38 +$(MAKEJ) -C cinelerra
43 $(MAKE) -C libzmpeg3 clean
44 +$(MAKEJ) -C libzmpeg3
51 $(MAKE) -C cinelerra install
52 $(MAKE) -C plugins install