summaryrefslogtreecommitdiff
path: root/comp/cw/code/parser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comp/cw/code/parser/Makefile')
-rw-r--r--comp/cw/code/parser/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/comp/cw/code/parser/Makefile b/comp/cw/code/parser/Makefile
new file mode 100644
index 0000000..9325d95
--- /dev/null
+++ b/comp/cw/code/parser/Makefile
@@ -0,0 +1,12 @@
+all: readfile preprocesor parser
+ cc readfile.o preprocessor.o parser.o -o parser
+
+readfile:
+ cc -c readfile.c -o readfile.o
+preprocesor:
+ cc -c preprocessor.c -o preprocessor.o
+parser: parser.c
+ cc -c parser.c -o parser.o
+
+clean:
+ rm -rf *.o parser