# examples/cmatrix — Matrix-style falling glyphs, built with the ww
# toolchain. Links against libncurses.so via w6l's dynamic linker.

WW := $(shell cd ../..; pwd)/out/bin/ww

cmatrix: cmatrix.ww
	$(WW) build cmatrix.ww -L /usr/lib -l ncurses

clean:
	rm -f cmatrix cmatrix.o cmatrix.s cmatrix.combined.ww

.PHONY: clean
