summaryrefslogtreecommitdiff
path: root/Makefile
blob: 810c4b3c559d73fe969c2beb5464820a3e5a7b7c (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
38
39
40
# -*-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: all
all .DEFAULT:
	@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-2011
	cp -p $(top_builddir)/bin/cvc4 cvc4-smtcomp-2011/cvc4
	strip cvc4-smtcomp-2011/cvc4
	( echo '#!/bin/sh'; \
	  echo 'exec ./cvc4 -L smt2 --no-interactive' ) > cvc4-smtcomp-2011/run
	chmod 755 cvc4-smtcomp-2011/run
	tar cf cvc4-smtcomp-2011.tar cvc4-smtcomp-2011
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback