cppcourse/Makefile

72 lines
1.4 KiB
Makefile
Raw Permalink Normal View History

2022-12-15 12:40:36 +01:00
CC := clang++ -Wall -std=c++17 -Wall -Wextra -g -fsanitize=address,undefined -fno-omit-frame-pointer
2022-12-17 21:35:56 +01:00
#CC := clang++ -Wall -std=c++17 -Wall -Wextra
2022-11-10 10:41:51 +01:00
2022-10-27 22:32:19 +02:00
setup:
mkdir build
2022-12-14 23:54:30 +01:00
chmod -R +x src/
2022-11-06 22:32:44 +01:00
2022-10-27 22:32:19 +02:00
sheet0:
2022-12-14 23:54:30 +01:00
$(CC) src/sheet00.cpp -o build/sheet0
2022-11-06 20:04:54 +01:00
chmod +x build/sheet0
2022-10-27 22:32:19 +02:00
build/sheet0
2022-11-06 20:04:54 +01:00
2022-11-06 19:45:16 +01:00
sheet01:
2022-12-14 23:54:30 +01:00
$(CC) src/sheet01.cpp -o build/sheet01
2022-11-06 19:45:16 +01:00
chmod +x build/sheet01
build/sheet01
2022-11-06 20:07:21 +01:00
2022-11-07 12:41:36 +01:00
sheet02:
2022-12-14 23:54:30 +01:00
$(CC) src/sheet02.cpp -o build/sheet02
2022-11-07 12:41:36 +01:00
chmod +x build/sheet02
build/sheet02
2022-11-08 15:41:38 +01:00
sheet03:
2022-12-14 23:54:30 +01:00
$(CC) src/sheet03.cpp src/MyType.cpp -o build/sheet03
2022-11-08 15:41:38 +01:00
chmod +x build/sheet03
build/sheet03
2022-11-16 16:25:33 +01:00
sheet04:
2022-12-14 23:54:30 +01:00
$(CC) src/sheet04.cpp -o build/sheet04
2022-11-16 16:25:33 +01:00
chmod +x build/sheet04
build/sheet04
2022-12-14 23:54:30 +01:00
sheet05:
$(CC) src/sheet05.cpp -o build/sheet05
chmod +x build/sheet05
build/sheet05
2022-12-14 21:43:43 +01:00
2022-12-15 12:40:36 +01:00
sheet06:
$(CC) src/sheet06.cpp -o build/sheet06
chmod +x build/sheet06
build/sheet06
2022-12-17 21:35:56 +01:00
sheet07:
$(CC) src/sheet07.cpp -o build/sheet07
chmod +x build/sheet07
build/sheet07
2022-12-28 15:41:02 +01:00
sheet08:
$(CC) src/sheet08.cpp -o build/sheet08
chmod +x build/sheet08
build/sheet08
2022-12-28 15:02:21 +01:00
2023-01-13 19:56:48 +01:00
sheet09:
$(CC) src/sheet09.cpp -o build/sheet09
chmod +x build/sheet09
build/sheet09 src/grid src/grid 1
HTable:
$(CC) src/HTable.cpp -o build/HTable
chmod +x build/HTable
build/HTable src/grid src/grid 1
2022-11-06 20:07:21 +01:00
pizza:
2022-12-14 23:54:30 +01:00
$(CC) src/pizza.cpp -o build/pizza
2022-11-06 20:07:21 +01:00
chmod +x build/pizza
build/pizza
2023-03-10 18:38:13 +01:00
probability:
$(CC) src/probability.cpp -o build/probability
chmod +x build/probability
build/probability