Mercurial > hg > Members > nobuyasu > CbC
view ABP/Makefile @ 9:18d2a590bc10 draft
add fibonacci
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 03 Jun 2012 22:06:40 +0900 |
parents | 5dc0fa7caa57 |
children |
line wrap: on
line source
#CC=gcc #MCC=mcc CC=cbc-gcc-4.6.0 MCC=cbc-gcc-4.6.0 TARGET=abp abp2 sender2 sender3 receiver2 MCCFLAGS=-s CFLAGS=-g -Wall .SUFFIXES: .c .o .c.o: # $(MCC) $(MCCFLAGS) $< # $(CC) $(CFLAGS) -o $@ -c $(<:.c=.s) $(CC) $(CFLAGS) -o $@ -c $< all: $(TARGET) abp: sender.o receiver.o scheduler.o $(CC) -o $@ $^ abp2: queue.o sender3.o receiver3.o scheduler2.o $(CC) -o $@ $^ sender2: sender2.o $(CC) -o $@ $^ sender3: sender3.o $(CC) -o $@ $^ receiver2: receiver2.o $(CC) -o $@ $^ clean: $(RM) $(TARGET) $(RM) *.s *.o