git.haldean.org del / master Makefile
master

Tree @master (Download .tar.gz)

Makefile @masterraw · history · blame

Del: *.hs glsl.del
	ghc -Wall -Werror Del

GenBuiltins: *.hs
	ghc -Wall -Werror GenBuiltins

glsl.del: builtins.txt GenBuiltins
	./GenBuiltins > $@

testsrc=$(wildcard examples/*.del)
testres=$(patsubst examples/%.del,test-%,$(testsrc))

$(testres): test-%: examples/%.del Del
	@echo -e "\e[34m$<\e[39m"
	@./Del < $<

check: Del $(testres)

.PHONY: check $(testres)