Commit 65326894 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby 🤘🏻
Browse files

build: Update makefile.

parent e2c8278f
all: truelisp.py
all: truelisp
# Compile
truelisp.py: truelisp.hy
$(info Compiling (hy2py) $<)
@hy2py3 $< > $@
truelisp: truelisp.hy
@hyc3 $<
check:
@hy test.hy
# Tests
fibo: example-fibo.hy
$(info Running $< 42)
@hy example-fibo.hy 42
test: test.hy
$(info Running $<)
@hy $<
check: test fibo
.PHONY: clean check
# Clean
.PHONY: clean check test fibo truelisp
clean:
@rm -vf *.py
@rm -vrf __pycache__/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment