climp

Dirty interpreter for the limp programming language in C

git clone https://git.8pit.net/climp.git

 1M4 ?= m4
 2M4FLAGS ?=
 3
 4all: logic.li
 5logic.li: logic.li.m4
 6	$(M4) $(M4FLAGS) $< | sed 's:#.*$$::g' \
 7		| sed '/./!d' > $@
 8
 9../../climp: ../../
10	$(MAKE) -C $<
11
12run: ../../climp logic.li
13	$< logic.li
14
15clean:
16	$(RM) logic.li
17
18.PHONY: all run clean