summaryrefslogtreecommitdiffstats
path: root/feed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'feed/Makefile')
-rw-r--r--feed/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/feed/Makefile b/feed/Makefile
new file mode 100644
index 0000000..3830946
--- /dev/null
+++ b/feed/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