Add a simple Makefile

This commit is contained in:
Ben S 2014-06-23 18:30:08 +01:00
parent 038143682c
commit 55280a5308
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
exa
exa-test
*~

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
COMPILER = rustc
all:
$(COMPILER) exa.rs
test:
$(COMPILER) --test exa.rs -o exa-test
./exa-test
clean:
rm -f exa
rm -f exa-test