Makefile (368B)
1 clean: 2 rm -rf artifacts 3 shift-cipher: clean 4 tcc shift-cipher.c -o shift.out 5 test-shift-cipher: shift-cipher 6 mkdir artifacts 7 ./shift.out test-files/ascii.txt artifacts/ascii-encrypted.txt 200 8 ./shift.out artifacts/ascii-encrypted.txt artifacts/ascii.txt -200 9 sha256sum artifacts/ascii.txt test-files/ascii.txt 10 # Do the checksums match? This tests that invariant