mirror of https://github.com/zeldaret/mm.git
15 lines
404 B
Bash
Executable File
15 lines
404 B
Bash
Executable File
# build compression functions (slow)
|
|
gcc -DNDEBUG -s -Ofast -flto -lm -c -Wall -march=native -mtune=native src/enc/*.c src/enc/lzo/*.c src/enc/ucl/comp/*.c src/enc/apultra/*.c
|
|
mkdir -p o
|
|
mv *.o o
|
|
|
|
# build everything else
|
|
gcc -o z64compress -DNDEBUG src/*.c o/*.o -Wall -Wextra -s -Os -flto -lpthread -march=native -mtune=native
|
|
|
|
# move to bin directory
|
|
mkdir -p bin/linux64
|
|
mv z64compress bin/linux64
|
|
|
|
|
|
|