view fibonacci/Makefile @ 13:f29ec9081099 draft

modify fibonacci2.cbc
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Fri, 15 Jun 2012 04:18:53 +0900
parents 774d70d1ea62
children 43cfb6cbf809
line wrap: on
line source

CbCC=cbc-gcc-4.6.0

#CFLAGS="-O3 -v"
CFLAGS=-O2

PROGRAM= cbc_fibonacci2 c_fibonacci2

all: $(PROGRAM)

cbc_fibonacci2: fibonacci2.cbc
		$(CbCC) $(CFLAGS) -o $@ $^
c_fibonacci2: fibonacci2.c
	      $(CbCC) $(CFLAGS) -o $@ $^
clean:
	rm e $(PROGRAM)