updated make file to be more automatic
This commit is contained in:
parent
10dd87e479
commit
5c9ebc0489
20
Makefile
20
Makefile
@ -1,10 +1,22 @@
|
||||
CXX=g++
|
||||
CXX=g++-4.7
|
||||
# CPPFLAGS=-Wall -g
|
||||
# CPPFLAGS=-Wall -g -std=c++0x
|
||||
CPPFLAGS=-Wall -g -std=c++0x -pthread
|
||||
|
||||
all:
|
||||
@echo "build things individually (make loops, etc.)"
|
||||
all: auto constexpr ilists init init_new lambda loops thread thread2 tuple
|
||||
|
||||
test: all
|
||||
./auto
|
||||
./constexpr
|
||||
./ilists
|
||||
./init
|
||||
./init_new
|
||||
./lambda
|
||||
./loops
|
||||
./thread
|
||||
./thread2
|
||||
./tuple
|
||||
|
||||
|
||||
clean:
|
||||
@rm -vf auto constexpr ilists2 ilists init init_new lambda loops thread thread2 tuple
|
||||
@rm -vf auto constexpr ilists init init_new lambda loops thread thread2 tuple
|
||||
|
10
README.rst
10
README.rst
@ -22,4 +22,14 @@ asdf.cc file, run::
|
||||
|
||||
make asdf
|
||||
|
||||
or to build it all::
|
||||
|
||||
make
|
||||
|
||||
Also, you can run it all with the test target:
|
||||
|
||||
make test
|
||||
|
||||
if it returns 0, then everything went fine.
|
||||
|
||||
Enjoy!
|
||||
|
Loading…
Reference in New Issue
Block a user