.PHONY: all all: b32e b32d .PHONY: test test: b32e b32d cat makefile | ./b32e > makefile.b32 cat makefile | base32 -w 0 > makefile.check.b32 cat makefile.b32 | ./b32d cat makefile.check.b32 | base32 -d # encoder b32e: b32e.o ld -o $@ $< b32e.o: b32e.asm nasm -f elf64 -g -F dwarf -O0 -w+all -o $@ $< # decoder b32d: b32d.o ld -o $@ $< b32d.o: b32d.asm nasm -f elf64 -g -F dwarf -O0 -w+all -o $@ $< .PHONY: clean clean: rm -f *.o b32e b32d *.b32