2016-11-12 21:53:11 +01:00
|
|
|
CC=mpicc
|
2016-11-12 15:38:02 +01:00
|
|
|
CFLAGS=-Wall -lm -std=c99
|
|
|
|
|
2016-11-12 21:53:11 +01:00
|
|
|
all: config utils jacobi_sequential.c
|
|
|
|
${CC} ${CFLAGS} config.o utils.o jacobi_sequential.c -o jacobi.out
|
2016-11-12 15:38:02 +01:00
|
|
|
|
|
|
|
config: ../config/config.c
|
|
|
|
${CC} -c ${CFLAGS} ../config/config.c
|
|
|
|
|
2016-11-12 21:53:11 +01:00
|
|
|
utils: ../utils/utils.c
|
|
|
|
${CC} -c ${CFLAGS} ../utils/utils.c
|
|
|
|
|
2016-11-12 15:38:02 +01:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f *.out *.o
|