Skip to content

Commit a9970e3

Browse files
Create Makefile
1 parent 1a852ae commit a9970e3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
all:
2+
yacc -d simplecalc.y
3+
lex simplecalc.l
4+
gcc y.tab.c lex.yy.c -o simplecalc
5+
6+
clean:
7+
rm -rf simplecalc
8+
rm -rf lex.yy.c
9+
rm -rf y.tab.c
10+
rm -rf y.tab.h
11+
rm -rf y.tab.h.gch

0 commit comments

Comments
 (0)