diff options
| author | jakob <jakob@memeware.net> | 2017-03-21 18:49:31 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-03-21 18:49:31 -0400 |
| commit | fab56e85955ccb3a2533aad00671cff04516aa70 (patch) | |
| tree | 862b00d7f6ef78194b1b6f1a9cd7e331abc75769 /Makefile | |
| parent | 7f63c3b82d229b3353df4abb7612917aed01f937 (diff) | |
Implemented testing.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -9,5 +9,19 @@ all: skullfuck skullfuck: skullfuck.c $(CC) $(CFLAGS) $(MACROS) -o skullfuck skullfuck.c +run_tests: run_tests.c + $(CC) $(CFLAGS) -o run_tests run_tests.c + +hello: test/hello_world.bf + ./skullfuck -o hello test/hello_world.bf + +rot13: test/rot13.bf + ./skullfuck -o rot13 test/rot13.bf + +test: run_tests hello rot13 + ./run_tests + clean: skullfuck rm -f skullfuck + +.PHONY: clean test |