diff options
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: |