1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-09 04:30:26 +08:00

add v1 branch

This commit is contained in:
源文雨
2022-06-03 11:46:55 +08:00
parent 70a5125e48
commit 1cccc911ce
13 changed files with 127 additions and 1621 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
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