Kaynağa Gözat

Add a simple Makefile

Ben S 11 yıl önce
ebeveyn
işleme
55280a5308
2 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  1. 1 0
      .gitignore
  2. 15 0
      Makefile

+ 1 - 0
.gitignore

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

+ 15 - 0
Makefile

@@ -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
+
+
+