add makefile for deps

This commit is contained in:
rhiannon morris 2022-02-27 02:18:44 +01:00
parent 071704076e
commit f7571ce6c3
1 changed files with 13 additions and 0 deletions

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
DEPS := prettier elab-util hedgehog
.PHONY: all
all: build
.PHONY: $(DEPS)
$(DEPS): %:
idris2 --install vendor/$@/$@.ipkg
.PHONY: build
build: $(DEPS) $(shell find src -name '*.idr')
idris2 --build quix.ipkg