initial commit
authorMart Lubbers <mart@martlubbers.net>
Thu, 11 Feb 2016 14:26:20 +0000 (15:26 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 11 Feb 2016 14:26:20 +0000 (15:26 +0100)
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]
README.md
lex.icl [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..e45a789
--- /dev/null
@@ -0,0 +1,2 @@
+Clean System Files
+lex
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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
index 35c4616..167a116 100644 (file)
--- 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 (file)
index 0000000..f050062
--- /dev/null
+++ b/lex.icl
@@ -0,0 +1,3 @@
+module lex
+
+Start = "Hello World!\n"