Makefile for hw1

This commit is contained in:
Inex Code 2020-09-19 11:30:57 +00:00
parent 3128ac5028
commit 90c171fa58

13
Hw1/Makefile Normal file
View file

@ -0,0 +1,13 @@
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