HLPL2/Hw1/Makefile

13 lines
255 B
Makefile
Raw Permalink Normal View History

2020-09-19 11:30:57 +00:00
CXX = g++
CXXFLAGS = -Wall -g --std=c++11
main: task1.o task2.o task3.o
task1.o: task1.cpp
$(CXX) $(CXXFLAGS) -o task1.o task1.cpp
task2.o: task2.cpp
$(CXX) $(CXXFLAGS) -o task2.o task2.cpp
task3.o: task3.cpp
$(CXX) $(CXXFLAGS) -o task3.o task3.cpp