12 lines
270 B
Makefile
12 lines
270 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
|