Add example/imageviewer

This commit is contained in:
Nigel Tao committed 2020-01-16 11:42:52 +11:00
1 parent 2be1f63806
commit 8f1fe43abf
2 files changed
+451

No files matched your search

+4
View File
@@ -43,6 +43,10 @@ for f in $sources; do
echo "Building gen/bin/example-$f"
# example/crc32 is unusual in that it's C++, not C.
$CXX -O3 example/$f/*.cc -o gen/bin/example-$f
elif [ $f = imageviewer ]; then
# 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