HLRS-OpenMP-GPU-2024/03-cut-offs/mergesort-co/Makefile
2024-04-26 15:47:20 +02:00

20 lines
273 B
Makefile

BIN_DIR=../bin
PROGRAM=$(BIN_DIR)/mergesort-co
CC=g++
CFLAGS=-O3 -fopenmp
LDFLAGS=-fopenmp
all: $(PROGRAM)
$(PROGRAM): mergesort.cpp
$(CC) $(CFLAGS) $(VERBOSE) -o $@ $^ $(LDFLAGS)
$(BIN_DIR):
mkdir $@
clean:
rm -rf $(PROGRAM) *.o
wipe: clean
rm -rf *.out *.err