HLPL2/Sem3/Makefile

12 lines
270 B
Makefile
Raw Permalink Normal View History

2020-10-05 06:59:09 +00:00
CXX = g++
CXXFLAGS = -Wall -g --std=c++11
2020-10-05 08:16:28 +00:00
main: task1.o task2.o
2020-10-05 06:59:09 +00:00
task1.o: task1.cpp
clang-format -i --style=webkit task1.cpp
$(CXX) $(CXXFLAGS) -o task1.o task1.cpp
2020-10-05 08:16:28 +00:00
task2.o: task2.cpp
clang-format -i --style=webkit task2.cpp
$(CXX) $(CXXFLAGS) -o task2.o task2.cpp