JacobiHPC/mpi_line/Makefile

16 lines
306 B
Makefile
Raw Normal View History

2016-11-12 18:01:00 +01:00
CC=mpicc
CFLAGS=-Wall -lm -std=c99
all: config utils jacobi_mpi_line.c
${CC} ${CFLAGS} config.o utils.o jacobi_mpi_line.c -o jacobi.out
2016-11-12 18:01:00 +01:00
config: ../config/config.c
${CC} -c ${CFLAGS} ../config/config.c
utils: ../utils/utils.c
${CC} -c ${CFLAGS} ../utils/utils.c
2016-11-12 18:01:00 +01:00
.PHONY: clean
clean:
rm -f *.out *.o