Update compile.sh

Update bash script to specify c++ standard.
This commit is contained in:
Isak 2018-03-17 20:40:56 +01:00 committed by GitHub
parent 9ce6ec1898
commit 19f38c2954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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