13 lines
271 B
Makefile
13 lines
271 B
Makefile
CXX = g++
|
|
CXXFLAGS = -Wall -g --std=c++11
|
|
|
|
main: task1.o task2.o
|
|
|
|
task1.o: task1.cpp
|
|
clang-format -i --style=webkit task1.cpp
|
|
$(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
|