From 19c5f39c61f1692641570dc3cf13360e7dff5cdf Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 11 Feb 2016 15:26:20 +0100 Subject: [PATCH] initial commit --- .gitignore | 2 ++ Makefile | 14 ++++++++++++++ README.md | 2 +- lex.icl | 3 +++ 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 lex.icl diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e45a789 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Clean System Files +lex diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3f8aeff --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CLM:=clm +CLMFLAGS:=-b -nt + +BINARIES:=lex + +.PHONY: all clean + +all: $(BINARIES) + +%: %.icl + $(CLM) $(CLMFLAGS) $(basename $<) -o $@ + +clean: + $(RM) -rv $(BINARIES) Clean\ System\ Files diff --git a/README.md b/README.md index 35c4616..167a116 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# cc1516 \ No newline at end of file +# cc1516 diff --git a/lex.icl b/lex.icl new file mode 100644 index 0000000..f050062 --- /dev/null +++ b/lex.icl @@ -0,0 +1,3 @@ +module lex + +Start = "Hello World!\n" -- 2.20.1