Skip to content

Commit 0885d3a

Browse files
committed
tuned build script
1 parent 117198d commit 0885d3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build_linux.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!bin/sh
1+
#!/bin/sh
22

33
# Ensure bin/ exists
44
mkdir bin
@@ -10,4 +10,4 @@ rm -r bin/*
1010
cp -R skeleton/* bin/
1111

1212
# Compile the program with optimization using g++
13-
g++ -v -Wall -lcurl -o bin/updater -I . -Ofast *.cpp internal/*.cpp
13+
g++ -Wall -lcurl -o bin/updater -I . -Ofast $(find . -iname "*.cpp")

0 commit comments

Comments
 (0)