diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-09 15:21:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-09 15:21:16 +0200 |
commit | 2cffde53441986ca86c035debe9d6ee9d270dfb1 (patch) | |
tree | 89bc170795e4789afe734a131d66e4c9051f4d8a /tests/makefile | |
parent | d311e253ca3dcabb9e52d273110dea8b950571f7 (diff) |
Tests for the lexer
Diffstat (limited to 'tests/makefile')
-rw-r--r-- | tests/makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/makefile b/tests/makefile new file mode 100644 index 0000000..fa8b833 --- /dev/null +++ b/tests/makefile @@ -0,0 +1,20 @@ +# file : tests/makefile +# author : Boris Kolpackov <boris@codesynthesis.com> +# copyright : Copyright (c) 2009 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make + +tests := lexer + +default := $(out_base)/ +test := $(out_base)/.test +clean := $(out_base)/.clean + +.PHONY: $(default) $(test) $(clean) + +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) +$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) + +$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile)) |