cpp11/Makefile

37 lines
866 B
Makefile
Raw Permalink Normal View History

# may or may not work, most stuff okay on:
# gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
2012-05-05 13:50:51 -07:00
CXX=g++
CPPFLAGS=-Wall -g -std=c++0x -pthread
# works with g++-4.7:
# CXX=g++-4.7
# CPPFLAGS=-Wall -g -std=c++0x -pthread
2012-05-05 13:35:05 -07:00
# works on clang 3.2 build following this:
# http://solarianprogrammer.com/2011/10/16/llvm-clang-libc-linux/
2012-05-05 13:50:51 -07:00
# CXX=clang++
# CPPFLAGS=-Wall -g -std=c++0x -stdlib=libc++ -L/opt/clang/lib -pthread
2012-07-05 08:45:05 -07:00
all: auto constexpr ilists init init_new lambda loops pi regex1 regex2 thread thread2 tuple
2012-05-05 13:12:32 -07:00
2012-05-05 13:14:40 -07:00
run: all
2012-05-05 13:12:32 -07:00
./auto
./constexpr
./ilists
./init
./init_new
./lambda
./loops
./thread
./thread2
./tuple
2012-05-25 07:49:38 -07:00
echo "1 11 1.1 1.1E12 stephen" | ./regex2
echo "hello cruel 12 world 12.22. you are 12.12 awesome!!" | ./regex2
2012-05-05 13:12:32 -07:00
clean:
2012-07-05 08:45:05 -07:00
@rm -vf auto constexpr core* ilists init init_new lambda loops pi regex1 regex2 thread thread2 tuple
2012-05-25 07:55:29 -07:00
stress: thread2
2012-05-25 07:59:21 -07:00
zsh stress.zsh