-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
18 lines (14 loc) · 842 Bytes
/
makefile
File metadata and controls
18 lines (14 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: clean compile link
link:
g++ -o bin/main bin/main.o bin/Volunteer.o bin/Order.o bin/Customer.o bin/Action.o bin/WareHouse.o bin/MyParser.o bin/CommandAction.o
compile:
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/CommandAction.o src/CommandAction.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/WareHouse.o src/WareHouse.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/Volunteer.o src/Volunteer.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/Order.o src/Order.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/Customer.o src/Customer.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/Action.o src/Action.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/MyParser.o src/MyParser.cpp
g++ -g -Wall -Weffc++ -std=c++11 -Include -c -o bin/main.o src/main.cpp
clean:
rm -f bin/*