1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-05 02:00:31 +08:00
Files
base16384/Makefile
2024-04-06 15:15:48 +09:00

14 lines
386 B
Makefile

all: base14.o bitio.o dir
gcc -o build/base16384 build/base14.o build/bitio.o -O3
bitio.o: bitio.c dir
gcc -o build/bitio.o -c bitio.c -O3
base14.o: base16384.c dir
gcc -o build/base14.o -c base16384.c -O3
dir:
if [ ! -d "build" ]; then mkdir build; fi
clean:
if [ -d "build" ]; then rm -rf build; fi
install:
cp build/base16384 /usr/local/bin/
chmod +x /usr/local/bin/base16384