#
# Makefile for compute cfn
#

SHELL = /bin/sh
CC = gcc
CFLAGS = -O3 -mpopcnt

all : clean compute-cfn

compute-cfn :
	${CC} $(CFLAGS) compute-cfn.c -o compute-cfn

profile :
	rm -f compute-cfn-profile gmon.out
	${CC} -mpopcnt -pg -g compute-cfn.c -o compute-cfn-prof

clean :
	rm -f compute-cfn
