41 lines
768 B
Makefile
Executable File
41 lines
768 B
Makefile
Executable File
CC := clang++ -Wall -std=c++17 -Wall -Wextra -O1 -g -fsanitize=address,undefined -fno-omit-frame-pointer
|
|
|
|
setup:
|
|
mkdir build
|
|
chmod -R +x src/
|
|
|
|
sheet0:
|
|
$(CC) src/sheet00.cpp -o build/sheet0
|
|
chmod +x build/sheet0
|
|
build/sheet0
|
|
|
|
sheet01:
|
|
$(CC) src/sheet01.cpp -o build/sheet01
|
|
chmod +x build/sheet01
|
|
build/sheet01
|
|
|
|
sheet02:
|
|
$(CC) src/sheet02.cpp -o build/sheet02
|
|
chmod +x build/sheet02
|
|
build/sheet02
|
|
|
|
sheet03:
|
|
$(CC) src/sheet03.cpp src/MyType.cpp -o build/sheet03
|
|
chmod +x build/sheet03
|
|
build/sheet03
|
|
|
|
sheet04:
|
|
$(CC) src/sheet04.cpp -o build/sheet04
|
|
chmod +x build/sheet04
|
|
build/sheet04
|
|
|
|
sheet05:
|
|
$(CC) src/sheet05.cpp -o build/sheet05
|
|
chmod +x build/sheet05
|
|
build/sheet05
|
|
|
|
pizza:
|
|
$(CC) src/pizza.cpp -o build/pizza
|
|
chmod +x build/pizza
|
|
build/pizza
|