view fibonacci/Makefile @ 33:3946f8d26710 draft default tip

add benchmarck/binary-trees
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 09 Apr 2013 16:41:30 +0900
parents 43cfb6cbf809
children
line wrap: on
line source

CbCC=cbc-gcc-4.6.0

#CFLAGS="-O3"
CFLAGS=-O2 -m64
#CFLAGS=-O0

#PROGRAM= fibonacci2_cbc_loop fibonacci2_c_loop fibonacci2_norec
PROGRAM= fibonacci2_cbc_loop fibonacci2_norec

all: $(PROGRAM)

fibonacci2_cbc_loop: fibonacci2_loop.cbc
	$(CbCC) $(CFLAGS) -o $@ $^
fibonacci2_c_loop: fibonacci2_loop.c
	$(CbCC) $(CFLAGS) -o $@ $^
fibonacci2_norec: fibonacci2_norec.cbc
	$(CbCC) $(CFLAGS) -o $@ $^
clean:
	rm $(PROGRAM)