minor fixes for clang++
[senf.git] / Makefile
1 #----------------------------------------------------------------------
2 # Some SCONS shortcuts
3 #----------------------------------------------------------------------
4
5 SCONS=./tools/scons
6
7 # DON'T call this default ... default is a valid scons target ;-)
8 build: default
9 .PHONY: build
10
11 clean: message
12         $(SCONS) --clean all
13 .PHONY: clean
14
15 Makefile:
16         @true
17
18 # Forward everything else to scons
19 %: message
20         $(SCONS) $@
21
22 message:
23         @echo "================================================================="
24         @echo "SENF uses SCons as it's build system, so instead of calling"
25         @echo "    $$ make <target>"
26         @echo
27         @echo "use"
28         @echo "    $$ ./tools/scons <target>"
29         @echo
30         @echo "To get help on valid targets an configuration variables, call"
31         @echo "    $$ ./tools/scons -h"
32         @echo
33         @echo "To get help on scons command line options, call"
34         @echo "    $$ ./tools/scons -H"
35         @echo
36         @echo "(interesting options: -c, -U, -j <num-cpus>, --config=force)"
37         @echo "================================================================="
38         sleep 5
39
40 prerequisites:
41         ./debian/install-depends.sh
42 .PHONY: prerequisites