aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLinus Torvalds <torvalds@home.transmeta.com>2003-03-13 12:53:56 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:14 -0700
commit3ece2ef7c0a3d5975f65aa09911e1944e4125c45 (patch)
treeaf5b6217bec44bbad283f7d35c8959f1c1ed930b /Makefile
downloadsparse-dev-3ece2ef7c0a3d5975f65aa09911e1944e4125c45.tar.gz
Yaah. I'm a retard, but I want to at least try to see how hard it is
to do a semantic parser that is smaller than gcc is. Right now this is just the lexer, though, along with a test app to print the results back out to verify the thing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..6599d016
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+CFLAGS=-g -Wall
+
+test-lexing: test-lexing.o tokenize.o
+ gcc -o $@ test-lexing.o tokenize.o
+
+test-lexing.o: token.h
+tokenize.o: token.h
+
+clean:
+ rm -f *.o