make, swift3: fix parsing empty literal sequences.
[jackhill/mal.git] / rpython / Makefile
index c075aa3..95a38ad 100644 (file)
@@ -1,14 +1,16 @@
 
 RPYTHON = rpython
-#PYTHONPATH = /home/joelm/scratch/pypy/rpython
-#export PYTHONPATH
 
 UPPER_STEPS = step4_if_fn_do step5_tco step6_file step7_quote step8_macros step9_try stepA_mal
-
-STEPS: step0_repl step1_read_print step2_eval step3_env $(UPPER_STEPS)
+STEPS = step0_repl step1_read_print step2_eval step3_env $(UPPER_STEPS)
 
 all: $(STEPS)
 
+dist: mal
+
+mal: stepA_mal
+       cp $< $@
+
 %: %.py
        $(RPYTHON) --output=$@ $<
 
@@ -22,5 +24,9 @@ step1_read_print step2_eval: $(STEP1_DEPS)
 step3_env: $(STEP3_DEPS)
 $(UPPER_STEPS): $(STEP4_DEPS)
 
+.PHONY: clean
+
 clean:
-       rm -f $(STEPS) *.pyc
+       rm -f mal $(STEPS) *.pyc
+       rm -rf __pycache__
+