diff 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 diff
--- a/fibonacci/Makefile	Mon Jun 04 02:45:53 2012 +0900
+++ b/fibonacci/Makefile	Fri Jun 15 04:18:53 2012 +0900
@@ -1,15 +1,15 @@
-CC=gcc
-CbCC=cbc-gcc-4.6
+CbCC=cbc-gcc-4.6.0
 
-CFLAGS=-O3
+#CFLAGS="-O3 -v"
+CFLAGS=-O2
 
 PROGRAM= cbc_fibonacci2 c_fibonacci2
 
 all: $(PROGRAM)
 
-cbc_fibonnacci2: fibonacci2.cbc
+cbc_fibonacci2: fibonacci2.cbc
 		$(CbCC) $(CFLAGS) -o $@ $^
 c_fibonacci2: fibonacci2.c
-	      $(CC) $(CFLAGS) -o $@ $^
+	      $(CbCC) $(CFLAGS) -o $@ $^
 clean:
-	rm -rf *.{o,s} $(PROGRAM)
\ No newline at end of file
+	rm e $(PROGRAM)
\ No newline at end of file