Mercurial > hg > Members > nobuyasu > CbC
comparison fibonacci/Makefile @ 14:43cfb6cbf809 draft
add Huffman
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 31 Jul 2012 04:15:35 +0900 |
parents | f29ec9081099 |
children |
comparison
equal
deleted
inserted
replaced
13:f29ec9081099 | 14:43cfb6cbf809 |
---|---|
1 CbCC=cbc-gcc-4.6.0 | 1 CbCC=cbc-gcc-4.6.0 |
2 | 2 |
3 #CFLAGS="-O3 -v" | 3 #CFLAGS="-O3" |
4 CFLAGS=-O2 | 4 CFLAGS=-O2 -m64 |
5 #CFLAGS=-O0 | |
5 | 6 |
6 PROGRAM= cbc_fibonacci2 c_fibonacci2 | 7 #PROGRAM= fibonacci2_cbc_loop fibonacci2_c_loop fibonacci2_norec |
8 PROGRAM= fibonacci2_cbc_loop fibonacci2_norec | |
7 | 9 |
8 all: $(PROGRAM) | 10 all: $(PROGRAM) |
9 | 11 |
10 cbc_fibonacci2: fibonacci2.cbc | 12 fibonacci2_cbc_loop: fibonacci2_loop.cbc |
11 $(CbCC) $(CFLAGS) -o $@ $^ | 13 $(CbCC) $(CFLAGS) -o $@ $^ |
12 c_fibonacci2: fibonacci2.c | 14 fibonacci2_c_loop: fibonacci2_loop.c |
13 $(CbCC) $(CFLAGS) -o $@ $^ | 15 $(CbCC) $(CFLAGS) -o $@ $^ |
16 fibonacci2_norec: fibonacci2_norec.cbc | |
17 $(CbCC) $(CFLAGS) -o $@ $^ | |
14 clean: | 18 clean: |
15 rm e $(PROGRAM) | 19 rm $(PROGRAM) |