Makefile 321 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
CLM:=clm
CLMFLAGS:=-nr -nt\
	-I ../backend\
	-I ../backend/Cloogle\
	-I ../backend/Cloogle/libcloogle\
	-I ../backend/Cloogle/CleanRegex\
	-IL Platform

BIN:=builtin_syntax
TEST:=$(addprefix test_,$(BIN))

test: $(TEST)

$(TEST): test_%: %
	./$<

$(BIN): .FORCE
	$(CLM) $(CLMFLAGS) $@ -o $@

.FORCE:

.PHONY: test .FORCE