Semi working version
This commit is contained in:
10
build.sh
10
build.sh
@@ -1,11 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
pushd build
|
||||
pushd build 2>&1 >/dev/null
|
||||
|
||||
gcc -Wall -O0 -ggdb3 \
|
||||
gcc -Wall -Wno-unused -O0 -ggdb3 \
|
||||
-o sdlamp2 \
|
||||
`sdl2-config --cflags --libs` \
|
||||
`pkgconf --cflags --libs libavformat` \
|
||||
`pkgconf --cflags --libs libavcodec` \
|
||||
`pkgconf --cflags --libs libavutil` \
|
||||
`pkgconf --cflags --libs libswresample` \
|
||||
-lSDL2_image \
|
||||
../src/sdlamp2.c
|
||||
|
||||
popd
|
||||
popd 2>&1 >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user