diff options
author | Jan Huwald <jh@sotun.de> | 2013-06-04 12:25:32 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2013-06-04 12:25:32 (GMT) |
commit | 455a137b7bf8572637097767e4748eb3d9f5ed7a (patch) | |
tree | 98607b5c2f2f8a58a8f837614a5fc67c0419ba6d /Makefile | |
parent | 4bccf8848a3410795ab66d7f615fa5b98417afc6 (diff) |
add verbose timer function, replace bitset w/ packed_array
Replacing bitset with packed_array is neccessary to allow parallel
access to proximate array cells.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,10 @@ CXX=g++ -std=c++0x -O3 -Wall -Wextra -Werror -lpthread all: cacount -cacount_%: cacount.cpp +cacount :: cacount.cpp packed_array.hpp timer.hpp + $(CXX) -fwhole-program $< -o $@ + +cacount_%: cacount.cpp packed_array.hpp timer.hpp $(CXX) -DBIT_WIDTH=$(shell echo $@ | egrep -o '[^_]*$$') -fwhole-program $< -o $@ clean: |