~ubuntu-43/undrop-for-innodb/pierre

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: root
  • Date: 2014-06-22 09:59:20 UTC
  • Revision ID: root@twindb-dev-20140622095920-0atlkgy80imht7hj
daily commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
OBJECTS = stream_parser.o
 
1
OBJECTS = stream_parser.o 
2
2
TARGETS = stream_parser sql_parser
3
3
SRCS = stream_parser.c include/mysql_def.h
4
4
INC_PATH = -I./include
21
21
        $(INSTALL) $(INSTALLFLAGS) $(TARGETS) $(BINDIR)/$(TARGETS)
22
22
 
23
23
sql_parser.o: sql_parser.c
24
 
        $(CC) -g -c $< 
 
24
        $(CC) -g -O3 $(CFLAGS) $(INC_PATH) -c $< 
25
25
 
26
26
sql_parser.c: sql_parser.y lex.yy.c
27
27
        #$(YACC) -r all -o $@ $<
32
32
        $(LEX) $<
33
33
 
34
34
clean:
35
 
        rm -f $(OBJECTS) $(TARGETS) lex.yy.c sql_parser.c
 
35
        rm -f $(OBJECTS) $(TARGETS) lex.yy.c sql_parser.c sql_parser.output
36
36
        rm -f *.o *.core