aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-28 01:03:06 +0200
committerdec05eba <dec05eba@protonmail.com>2022-09-28 01:03:06 +0200
commit1db22826831bf90f82422af5b5fa3d6caec32b77 (patch)
treefcf7f75e5a1cf114ebf277e522aa592feb699337 /build.sh
parent2570d1e86adee7459ae0688fbe4d106e9567cb09 (diff)
Remove dependency on glew and glfw, move external files to external directory
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 6797ca0..9356219 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,7 @@
#!/bin/sh -e
-dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse libswresample"
-includes="$(pkg-config --cflags $dependencies) -Iinclude"
+dependencies="libavcodec libavformat libavutil x11 xcomposite libpulse libswresample"
+includes="$(pkg-config --cflags $dependencies) -Iexternal"
libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
g++ -c src/sound.cpp -O2 $includes
g++ -c src/main.cpp -O2 $includes