HLRS-OpenMP-GPU-2024/08-quicksort/Makefile

21 lines
344 B
Makefile
Raw Normal View History

2024-04-26 13:47:20 +00:00
PROG=quicksort
CXX = g++
CXXFLAGS=-O3 -fopenmp
LDFLAGS=-fopenmp
debug:
$(CXX) $(CXXFLAGS) -g -O0 ${PROG}.cpp -o ${PROG}.exe
release:
$(CXX) $(CXXFLAGS) -O3 ${PROG}.cpp -o ${PROG}.exe
solution:
$(CXX) $(CXXFLAGS) -O3 ${PROG}-solved.cpp -o ${PROG}-solved.exe
run:
./${PROG}.exe
clean:
rm -f ${PROG}.exe ${PROG}-solved.exe ${PROG}.o *~