summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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