4 CFLAGS = -pedantic -Wall -ggdb -fopenmp --std=c99 -O3 ${MYFLAGS}
7 all: build/seq build/recurse build/datapar build/hillis_partial build/hillis_sum build/reduce
9 build/seq: build/prefix.o build/seq.o
10 $(CC) -o $@ $? $(LDFLAGS)
12 build/recurse: build/prefix.o build/recurse.o
13 $(CC) -o $@ $? $(LDFLAGS)
15 build/datapar: build/prefix.o build/datapar.o
16 $(CC) -o $@ $? $(LDFLAGS)
18 build/hillis_partial: build/prefix.o build/hillis_partial.o
19 $(CC) -o $@ $? $(LDFLAGS)
21 build/hillis_sum: build/prefix.o build/hillis_sum.o
22 $(CC) -o $@ $? $(LDFLAGS)
24 build/reduce: build/prefix.o build/reduce.o
25 $(CC) -o $@ $? $(LDFLAGS)
28 $(CC) $(CFLAGS) -c $< -o $@