summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-27 20:08:49 +0100
committerNao Pross <naopross@thearcway.org>2018-11-27 20:08:49 +0100
commit555b4dcc07f0a0158dd309e1b1853ddbf32467fe (patch)
tree7dfe118e297a363b0dfa40d6868fc1a1ea6d7b03
parentInitial implementation of encoder (diff)
downloadbase32asm-555b4dcc07f0a0158dd309e1b1853ddbf32467fe.tar.gz
base32asm-555b4dcc07f0a0158dd309e1b1853ddbf32467fe.zip
Update makefile with check of b32e
Diffstat (limited to '')
-rw-r--r--makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefile b/makefile
index a5df0c9..ee7a305 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,15 @@
+all: b32e
+ # test b32e hello
+ echo -n "hello" | ./b32e
+ @printf '\n'
+ echo -n "hello" | base32 -i
+
b32e: b32e.o
ld -o $@ $<
b32e.o: b32e.asm
nasm -f elf64 -O0 -w+all -o $@ $<
+
+.PHONY: clean
+clean:
+ rm -f *.o b32e b32d