summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-20 22:15:04 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-20 22:15:04 +0000
commit0ff40b23e97276fe829677f9fa0118b0bdb4d6ab (patch)
tree9ca9be2d9b727c6fcf80a7feb1f1bb7926265693 /Makefile
parentd011c663380dbf6e0e6a67d0555d67f3ce544e83 (diff)
initial version
git-svn-id: file:///home/lennart/svn/public/sse/trunk@3 5fbabb74-0606-0410-a5e4-b5cc6a42724e
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3830946
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+CLAGS=-Wextra -g -O2 -pipe
+LIBS=-lfl
+
+all: lex-c
+
+lex-c.yy.c: lex-c.l
+ flex -o $@ $^
+
+lex-c: lex-c.yy.o
+ $(CC) -o $@ $^ $(LIBS)
+
+clean:
+ rm -f *.o lex-c.yy.c lex-c
+
+.PHONY: all clean