HLPL2/Sem2/Makefile

13 lines
271 B
Makefile
Raw Permalink Normal View History

2020-09-21 07:38:51 +00:00
CXX = g++
CXXFLAGS = -Wall -g --std=c++11
2020-09-21 08:55:03 +00:00
main: task1.o task2.o
2020-09-21 07:38:51 +00:00
task1.o: task1.cpp
clang-format -i --style=webkit task1.cpp
2020-09-21 08:55:03 +00:00
$(CXX) $(CXXFLAGS) -o task1.o task1.cpp
task2.o: task2.cpp
clang-format -i --style=webkit task2.cpp
$(CXX) $(CXXFLAGS) -o task2.o task2.cpp