1
0
Fork 0
agulator/Makefile

26 lines
352 B
Makefile
Raw Permalink Normal View History

2022-09-28 05:05:16 +00:00
.PHONY: clean
default: calc
2022-10-01 02:22:54 +00:00
clean: clean-agda clean-typescript
2022-09-28 05:05:16 +00:00
2022-10-01 02:22:54 +00:00
clean-agda:
rm -rfv agda/MAlonzo/
rm -v agda/Calc
clean-typescript:
rm -rfv typescript/node_modules
rm -rfv typescript/out
build-agda:
agda -c Calc.agda
2022-10-01 02:22:54 +00:00
build-typescript:
( \
cd typescript; \
$$(npm bin)/tsc \
)
Calc: build-agda
typescript/out/index.js: build-typescript