JacobiHPC/mpi_line/Makefile

13 lines
230 B
Makefile
Raw Normal View History

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