TP-calcul-parallele/TP1/03_Dot/Makefile

15 lines
148 B
Makefile
Raw Normal View History

2023-06-23 17:34:09 +00:00
MPICC=smpicc
CFLAGS=-g -O4
all: dotp
clean:
rm -rf *.o dotp
%.o: %.c
echo $@
$(MPICC) -c -Wall -o $@ $<
dotp: dotp.o
$(MPICC) -o $@ $^ -lm