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 221f015..e6660ee 100644
--- a/Makefile
+++ b/Makefile
@@ -2,5 +2,8 @@ CXX=g++ -std=c++0x -O3 -Wall -Wextra -Werror -lpthread
all: cacount
+cacount_%: cacount.cpp
+ $(CXX) -DBIT_WIDTH=$(shell echo $@ | egrep -o '[^_]*$$') -fwhole-program $< -o $@
+
clean:
- -rm cacount *~ \ No newline at end of file
+ -rm cacount *~
contact: Jan Huwald // Impressum