summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4b731cb04b98d0c784e4d525f52518acbe412ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*-makefile-*-
#
# This makefile is the _source_ directory's makefile, and is static,
# not generated.  Makefile.am is the automake makefile for the build
# top-level (its corresponding Makefile.in is here, too, but the
# corresponding Makefile is under builds/$arch/$buildid.
#
builddir = builds

.PHONY: _default_build_ all
_default_build_: all
all %:
	@if test -d $(builddir); then \
		echo cd $(builddir); \
		cd $(builddir); \
		echo $(MAKE) $@; \
		$(MAKE) $@; \
	else \
		echo; \
		echo 'Run configure first, or type "make" in a configured build directory.'; \
		echo; \
	fi

# synonyms for "check"
.PHONY: test
test: check

.PHONY: doc
doc: doc-builds

submission:
	if [ ! -e configure ]; then ./autogen.sh; fi
	./configure competition --disable-shared --enable-static-binary
	$(MAKE)
	mkdir -p cvc4-smtcomp-2010
	cp -p $(top_builddir)/bin/cvc4 cvc4-smtcomp-2010/run
	tar cfz cvc4-smtcomp-2010.tgz cvc4-smtcomp-2010
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback