You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
362 B
21 lines
362 B
6 years ago
|
TARGET=KnnMPIBlockingTimeOptimized
|
||
|
CC=mpicc
|
||
|
CFLAGS=-Wall -O3 -std=gnu99 -I.
|
||
|
OBJ=knnMPIBlocking.o knnMPIBlockingDeclarations.o
|
||
|
DEPS=knnMPIBlockingDeclarations.h
|
||
|
|
||
|
.PHONY: default all clean
|
||
|
|
||
|
default: $(TARGET)
|
||
|
all: default
|
||
|
|
||
|
%.o: %.c $(DEPS)
|
||
|
$(CC) -c -o $@ $< $(CFLAGS)
|
||
|
|
||
|
.PRECIOUS: $(TARGET) $(OBJ)
|
||
|
|
||
|
$(TARGET): $(OBJ)
|
||
|
$(CC) -o $@ $^ $(CFLAGS)
|
||
|
|
||
|
clean:
|
||
|
$(RM) *.o *~
|