aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
blob: d43baeefbbc2aedc728edc574e4b5f19401a7e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: default configure distclean

ifeq ($(wildcard configure),)
default: configure
else
default: all
endif

configure:
	@set -ex; autoconf
	@rm -rf autom4te.cache
	@echo "*** You should now run ./configure or make ***"
distclean:
	-$(MAKE) -f Makefile clean
	-rm Makefile Make.rules configure config.h v4l-utils.spec

-include Makefile

ifeq ($(wildcard Makefile),)
all:
	./configure
	@$(MAKE) -f Makefile all
endif

Privacy Policy