-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
22 lines (15 loc) · 770 Bytes
/
makefile
File metadata and controls
22 lines (15 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: build
build: bin/Files.o bin/Commands.o bin/Environment.o bin/FileSystem.o bin/Main.o
g++ -o bin/fs bin/Files.o bin/Commands.o bin/Environment.o bin/FileSystem.o bin/Main.o
bin/Files.o: src/Files.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/Files.o src/Files.cpp
bin/Commands.o: src/Commands.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/Commands.o src/Commands.cpp
bin/FileSystem.o: src/FileSystem.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/FileSystem.o src/FileSystem.cpp
bin/Environment.o: src/Environment.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/Environment.o src/Environment.cpp
bin/Main.o: src/Main.cpp
g++ -g -Wall -Weffc++ -std=c++11 -c -Iinclude -o bin/Main.o src/Main.cpp
clean:
rm bin/*