31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
generalArguments = -std=c++20 -g
|
|
|
|
main.out: main.o Tools.o Exceptions.o Record.o Date.o Student.o StudentInfoManager.o ListDisplay.o
|
|
clang++ $(generalArguments) $^ -o main.out
|
|
|
|
main.exe: main.o Tools.o Exceptions.o Record.o Date.o Student.o StudentInfoManager.o ListDisplay.o
|
|
clang++ $(generalArguments) $^ -o main.exe
|
|
|
|
main.o: main.cpp ListE.hpp Node.hpp
|
|
clang++ $(generalArguments) -c main.cpp -o main.o
|
|
|
|
Exceptions.o: Exceptions.cpp Exceptions.hpp
|
|
clang++ $(generalArguments) -c Exceptions.cpp -o Exceptions.o
|
|
|
|
Record.o: Record.cpp Record.hpp Date.hpp Student.hpp Tools.hpp
|
|
clang++ $(generalArguments) -c Record.cpp -o Record.o
|
|
|
|
Date.o: Date.cpp Date.hpp Exceptions.hpp
|
|
clang++ $(generalArguments) -c Date.cpp -o Date.o
|
|
|
|
Tools.o: Tools.cpp Tools.hpp
|
|
clang++ $(generalArguments) -c Tools.cpp -o Tools.o
|
|
|
|
ListDisplay.o: ListDisplay.cpp ListDisplay.hpp Date.hpp Student.hpp
|
|
clang++ $(generalArguments) -c ListDisplay.cpp -o ListDisplay.o
|
|
|
|
Student.o: Student.cpp Student.hpp
|
|
clang++ $(generalArguments) -c Student.cpp -o Student.o
|
|
|
|
StudentInfoManager.o: StudentInfoManager.cpp StudentInfoManager.hpp ListDisplay.o
|
|
clang++ $(generalArguments) -c StudentInfoManager.cpp -o StudentInfoManager.o
|