13 lines
230 B
Makefile
13 lines
230 B
Makefile
|
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
|