summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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