aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: cfd269d4d6bd5e2ca825537dcb83aeebdbe621fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CFLAGS=-ggdb -I.

trans: y.tab.o lex.yy.o main.c list.o sql.o xcript.o
	cc -otrans -ggdb main.c y.tab.o lex.yy.o list.o sql.o xcript.o -ll -L/usr/local/lib/mysql -lmysqlclient

y.tab.c y.tab.h: gram.y
	yacc -vtd gram.y

lex.yy.c: input.l
	lex input.l

lex.yy.o: lex.yy.c y.tab.h trans.h

y.tab.o: trans.h

list.o: list.c list.h

sql.o: sql.c trans.h

xcript.o: xcript.c trans.h

Return to:

Send suggestions and report system problems to the System administrator.