mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Rename example/library to example/toy-genlib
This commit is contained in:
1 parent
50bfab9998
commit
cf8884d44c
8 files changed
+24
-24
No files matched your search
+4
-4
@@ -43,10 +43,10 @@ for f in $sources; do
|
||||
# example/imageviewer is unusual in that needs additional libraries.
|
||||
echo "Building gen/bin/example-$f"
|
||||
$CC -O3 example/$f/*.c -lxcb -lxcb-image -o gen/bin/example-$f
|
||||
elif [ $f = library ]; then
|
||||
# example/library is unusual in that it uses separately compiled libraries
|
||||
# (built by "wuffs genlib", e.g. by running build-all.sh) instead of
|
||||
# directly #include'ing Wuffs' .c files.
|
||||
elif [ $f = "toy-genlib" ]; then
|
||||
# example/toy-genlib is unusual in that it uses separately compiled
|
||||
# libraries (built by "wuffs genlib", e.g. by running build-all.sh) instead
|
||||
# of directly #include'ing Wuffs' .c files.
|
||||
if [ -e gen/lib/c/$CC-static/libwuffs.a ]; then
|
||||
echo "Building gen/bin/example-$f"
|
||||
$CC -O3 -static -I.. example/$f/*.c gen/lib/c/$CC-static/libwuffs.a -o gen/bin/example-$f
|
||||
|
||||
Reference in new issue
Block a user