HLRS-OpenMP-GPU-2024/07-fibonacci/Makefile
2024-04-26 15:47:20 +02:00

20 lines
337 B
Makefile

PROG=fibonacci
CC=gcc
CCFLAGS=-O3 -fopenmp
LDFLAGS=-fopenmp
debug:
$(CC) $(CCFLAGS) -g -O0 ${PROG}.c -o ${PROG}.exe
release:
$(CC) $(CCFLAGS) -O3 ${PROG}.c -o ${PROG}.exe
solution:
$(CC) $(CCFLAGS) -O3 ${PROG}-solved.c -o ${PROG}-solved.exe
run:
./${PROG}.exe < input
clean:
rm -f ${PROG}.exe ${PROG}-solved.exe ${PROG}.o *~