blob: bcc7cad5af9a0605ba89a866e75b6dc1494578c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
CC=gcc
CFLAGS=-O2 -Wall
CCOMP=../../ccomp
CCOMPFLAGS=-dump-c
PROGS=fib integr qsort fft sha1 aes almabench
all_s: $(PROGS:%=%.s)
all: $(PROGS)
%: %.s
$(CC) $(CFLAGS) -o $* $*.s
%.s: %.c ../../ccomp
$(CCOMP) $(CCOMPFLAGS) $*.c
clean:
rm -f $(PROGS)
rm -f *.clight *.s *.o *~
|