13 lines
232 B
Makefile
13 lines
232 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -lm -std=c99
|
|
|
|
all: config jacobi_sequential.c
|
|
${CC} ${CFLAGS} config.o jacobi_sequential.c -o jacobi.out
|
|
|
|
config: ../config/config.c
|
|
${CC} -c ${CFLAGS} ../config/config.c
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f *.out *.o
|