35 lines
705 B
Makefile
Executable File
35 lines
705 B
Makefile
Executable File
export BUILD_CMD=clang++ -Wall -std=c++17 -Wall -Wextra -O1 -g -fsanitize=address -fno-omit-frame-pointer
|
|
|
|
setup:
|
|
mkdir build
|
|
|
|
sheet0:
|
|
${BUILD_CMD} src/sheet00.cpp -o build/sheet0
|
|
chmod +x build/sheet0
|
|
build/sheet0
|
|
|
|
sheet01:
|
|
${BUILD_CMD} src/sheet01.cpp -o build/sheet01
|
|
chmod +x build/sheet01
|
|
build/sheet01
|
|
|
|
sheet02:
|
|
${BUILD_CMD} src/sheet02.cpp -o build/sheet02
|
|
chmod +x build/sheet02
|
|
build/sheet02
|
|
|
|
sheet03:
|
|
${BUILD_CMD} src/sheet03.cpp src/MyType.cpp -o build/sheet03
|
|
chmod +x build/sheet03
|
|
build/sheet03
|
|
|
|
sheet04:
|
|
${BUILD_CMD} src/sheet04.cpp -o build/sheet04
|
|
chmod +x build/sheet04
|
|
build/sheet04
|
|
|
|
pizza:
|
|
${BUILD_CMD} src/pizza.cpp -o build/pizza
|
|
chmod +x build/pizza
|
|
build/pizza
|