Makefile for hw1
This commit is contained in:
parent
3128ac5028
commit
90c171fa58
13
Hw1/Makefile
Normal file
13
Hw1/Makefile
Normal 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
|
Loading…
Reference in a new issue