18 lines
182 B
Makefile
18 lines
182 B
Makefile
|
MPICC=smpicc
|
||
|
CFLAGS=-g -O4
|
||
|
|
||
|
DIR=02_normA
|
||
|
SRC=normA
|
||
|
|
||
|
all: ${SRC}
|
||
|
|
||
|
%.o: %.c
|
||
|
echo $@
|
||
|
$(MPICC) -c -Wall -o $@ $<
|
||
|
|
||
|
${SRC}: ${SRC}.o
|
||
|
$(MPICC) -o $@ $^
|
||
|
|
||
|
clean:
|
||
|
rm -rf *.o ${SRC} ${DIR}
|