summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-11-18 22:52:06 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-05-24 03:03:01 +0300
commitc9601d407a7ca943e53fa49a5a5f69b868c6ed11 (patch)
tree248d13a9e817ba3c73fc50e2d655b4cd12013e10 /Makefile
parent3653f5e4d877176a30035d9123ac65daf46ba787 (diff)
Xilinx video library - Initial importHEADmaster
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2b1058b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+SUBDIRS := 3rdparty doc lib plugins src
+
+export topdir := $(PWD)
+
+all: all-recursive
+
+clean: clean-recursive
+
+doc:
+ $(MAKE) -C doc $@
+
+install: install-recursive
+
+.PHONY: doc
+
+recursive=all-recursive clean-recursive install-recursive
+
+$(recursive):
+ @target=`echo $@ | sed s/-recursive//` ; \
+ for subdir in $(SUBDIRS); do \
+ echo "Making $$target in $$subdir" ; \
+ $(MAKE) -C $$subdir $$target; \
+ done