summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2013-06-04 12:25:32 (GMT)
committerJan Huwald <jh@sotun.de>2013-06-04 12:25:32 (GMT)
commit455a137b7bf8572637097767e4748eb3d9f5ed7a (patch)
tree98607b5c2f2f8a58a8f837614a5fc67c0419ba6d /Makefile
parent4bccf8848a3410795ab66d7f615fa5b98417afc6 (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--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6660ee..dcca56a 100644
--- a/Makefile
+++ b/Makefile
@@ -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:
contact: Jan Huwald // Impressum