Update compile.sh
Update bash script to specify c++ standard.
This commit is contained in:
parent
9ce6ec1898
commit
19f38c2954
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
#Don't know cmake so here's a simple bash script for compiling
|
||||
g++ -c Directory.cpp -o Directory.o
|
||||
g++ -c Functions.cpp -o Functions.o
|
||||
g++ -std=c++11 -c Directory.cpp -o Directory.o
|
||||
g++ -std=c++11 -c Functions.cpp -o Functions.o
|
||||
g++ Functions.o Directory.o Main.cpp -o File-viewer
|
||||
|
|
Loading…
Reference in New Issue