summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index f92c187..c2a90f7 100755
--- a/build.sh
+++ b/build.sh
@@ -108,6 +108,11 @@ clang src/main.cpp -MJ bin/main.json $WARNING_FLAGS $OPTIMIZATION $ADDITIONAL_FL
-I . \
-lm $(pkg-config --cflags --libs $FFMPEG_LIBS)
+if [[ "$DEBUG" == 1 ]]; then
+echo "c ec compiled" > /tmp/control_pipe.dat
+fi
+
+
# sed -e '1s/^/[\n/' -e '$s/,$/\n]/' bin/*.json > compile_commands.json
if [[ "$OSTYPE" =~ ^darwin ]]; then