Misc
This commit is contained in:
parent
f30c47bf2a
commit
74ed44be68
29
Makefile
29
Makefile
|
@ -15,23 +15,40 @@ sequential: config utils main
|
||||||
-o ${BIN}/jacobi_sequential
|
-o ${BIN}/jacobi_sequential
|
||||||
|
|
||||||
mpi_line: config utils main_mpi
|
mpi_line: config utils main_mpi
|
||||||
${CC} ${CFLAGS} ${BUILD}/config.o ${BUILD}/utils.o ${BUILD}/main_mpi.o ${SRC}/impl/mpi_line.c -o ${BIN}/jacobi_mpi_line
|
${CC} ${CFLAGS} \
|
||||||
|
${BUILD}/config.o \
|
||||||
|
${BUILD}/utils.o \
|
||||||
|
${BUILD}/main_mpi.o \
|
||||||
|
${SRC}/impl/mpi_line.c \
|
||||||
|
-o ${BIN}/jacobi_mpi_line
|
||||||
|
|
||||||
mpi_line_async: config utils main_mpi
|
mpi_line_async: config utils main_mpi
|
||||||
${CC} ${CFLAGS} ${BUILD}/config.o ${BUILD}/utils.o ${BUILD}/main_mpi.o ${SRC}/impl/mpi_line_async.c \
|
${CC} ${CFLAGS} \
|
||||||
|
${BUILD}/config.o \
|
||||||
|
${BUILD}/utils.o \
|
||||||
|
${BUILD}/main_mpi.o \
|
||||||
|
${SRC}/impl/mpi_line_async.c \
|
||||||
-o ${BIN}/jacobi_mpi_line_async
|
-o ${BIN}/jacobi_mpi_line_async
|
||||||
|
|
||||||
main: ${SRC}/main.c
|
main: ${SRC}/main.c
|
||||||
${CC} -c ${CFLAGS} ${SRC}/main.c -o ${BUILD}/main.o
|
${CC} -c ${CFLAGS} \
|
||||||
|
${SRC}/main.c \
|
||||||
|
-o ${BUILD}/main.o
|
||||||
|
|
||||||
main_mpi: ${SRC}/main_mpi.c
|
main_mpi: ${SRC}/main_mpi.c
|
||||||
${CC} -c ${CFLAGS} ${SRC}/main_mpi.c -o ${BUILD}/main_mpi.o
|
${CC} -c ${CFLAGS} \
|
||||||
|
${SRC}/main_mpi.c \
|
||||||
|
-o ${BUILD}/main_mpi.o
|
||||||
|
|
||||||
config: ${SRC}/config.c
|
config: ${SRC}/config.c
|
||||||
${CC} -c ${CFLAGS} ${SRC}/config.c -o ${BUILD}/config.o
|
${CC} -c ${CFLAGS} \
|
||||||
|
${SRC}/config.c \
|
||||||
|
-o ${BUILD}/config.o
|
||||||
|
|
||||||
utils: ${SRC}/utils.c
|
utils: ${SRC}/utils.c
|
||||||
${CC} -c ${CFLAGS} ${SRC}/utils.c -o ${BUILD}/utils.o
|
${CC} -c ${CFLAGS} \
|
||||||
|
${SRC}/utils.c \
|
||||||
|
-o ${BUILD}/utils.o
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user