File: makefile

package info (click to toggle)
last-align 1609-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,656 kB
  • sloc: cpp: 44,297; python: 5,192; ansic: 1,937; sh: 651; makefile: 457
file content (24 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CXXFLAGS = -O3 -std=c++11 -pthread
all:
	@cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS)"

prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
install: all
	mkdir -p $(bindir)
	cp bin/* $(bindir)

clean:
	@cd src && $(MAKE) clean

docs: doc/last-matrices.rst doc/last-seeds.rst

doc/last-matrices.rst: build/mat-doc.sh data/*.mat
	./build/mat-doc.sh data/*.mat > $@

doc/last-seeds.rst: build/seed-doc.sh data/*.seed
	cd data && ../build/seed-doc.sh [!R]*d *4-9* *8-10* *11* *2-12* *64* *28* > ../$@

tag:
	git tag -m "" `git rev-list HEAD | grep -c .`