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:
13
Makefile
Normal file
13
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user