summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2015-06-25 09:11:48 -0700
committerNanley Chery <nanley.g.chery@intel.com>2015-06-25 09:11:54 -0700
commit0bd41827caab2caf491e84d31bdd24a327785544 (patch)
treef2b26740a2fdf72f83c86fb2d3eb4e7a94b19266
parentbdc750e6d73325c8fab74bb6c4d110c932f5676e (diff)
add options for encoder choice
-rw-r--r--Makefile1
-rwxr-xr-xmake_ktxes.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6a8c1d5..aec43ed 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ default: gen_mipmaps.c fix_mali_ktx.c gen_ktx.c
gcc -g gen_mipmaps_man.c -o gen_mipmaps_man -L ~/repos/mesa/lib -lGL -lwaffle-1 -lktx
gcc -g fix_mali_ktx.c -o fix_mali_ktx -lktx -L ~/repos/mesa/lib -lGL
gcc -g gen_ktx.c -o gen_ktx -lktx
+ make -C astc-encoder/Source
ktxes:
./make_ktxes.sh waffles.jpg
diff --git a/make_ktxes.sh b/make_ktxes.sh
index e62f651..4bcef10 100755
--- a/make_ktxes.sh
+++ b/make_ktxes.sh
@@ -110,6 +110,7 @@ Blk=(
)
# Executables
+encoder=./astc-encoder/Binary/Linux32/astcenc
encoder=./astc-encoder/Source/astcenc
ktx_fix=./fix_mali_ktx
ktx_gen=./gen_ktx