Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (23 sloc) 0.593 kb
a530c23 @thughes cmake: Add wrapper Makefile and README.
thughes authored
1 BUILD?=build
2 VERBOSE?=0
3 PARALLEL_JOBS?=1
4 CMAKE?=cmake
5
6 all: doc package
7
8 $(BUILD)/Makefile:
9 mkdir $(BUILD) || exit 0
10 cd $(BUILD) && $(CMAKE) -DCMAKE_VERBOSE_MAKEFILE=$(VERBOSE) ..
11
12 build: $(BUILD)/Makefile
13 cd $(BUILD) && make -j $(PARALLEL_JOBS)
14
15 install: build
16 cd $(BUILD) && sudo make install
17
18 clean:
19 rm -rf $(BUILD)
20
21 doc: $(BUILD)/Makefile
22 cd $(BUILD) && make doc
23
24 package: $(BUILD)/Makefile
25 cd $(BUILD) && make package
26
27 test: $(BUILD)/Makefile
28 cd $(BUILD) && make test
29
14e6b07 @thughes cmake: Add cdash support.
thughes authored
30 cdash: $(BUILD)/Makefile
31 cd $(BUILD) && make Experimental
32
33 .PHONY: build install clean doc package test cdash
Something went wrong with that request. Please try again.