Add the tar.bz2 archive
[dvb-osmc.git] / Makefile
blob608e15ee5974fd9a260223512fc4eff4c05afc9f
1 BUILD_DIR := $(shell pwd)/v4l
2 TMP ?= /tmp
4 ifeq ($(EDITOR),)
5 ifeq ($(VISUAL),)
6 EDITOR := vi
7 else
8 EDITOR := $(VISUAL) -w
9 endif
10 endif
12 all:
14 install:
15 $(MAKE) -C $(BUILD_DIR) install
17 # Hmm, .PHONY does not work with wildcard rules :-(
18 SPECS = media-specs
20 .PHONY: $(SPECS)
22 $(SPECS):
23 $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
25 %::
26 $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
28 download untar::
29 $(MAKE) -C linux/ $(MAKECMDGOALS)
31 dir::
32 $(MAKE) -C linux/ $(MAKECMDGOALS) DIR="../$(DIR)"
34 cleanall:
35 $(MAKE) distclean
36 $(MAKE) -C linux distclean