HLRS-OpenMP-GPU-2024/03-cut-offs/mergesort-co/Makefile

21 lines
273 B
Makefile
Raw Permalink Normal View History

2024-04-26 13:47:20 +00:00
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