~mysqlatfacebook/mysqlatfacebook/tools

« back to all changes in this revision

Viewing changes to faker/Makefile

  • Committer: Domas Mituzas
  • Date: 2012-09-04 10:46:59 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: domas@fb.com-20120904104659-pvzx1973dli3iv6u
Faker: C implementation of InnoDB fake changes based replication prefetcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CFLAGS+=`pkg-config glib-2.0 gthread-2.0 --cflags` `mysql_config --cflags` -std=gnu99 -Wall -Wextra -g -O2
 
2
LDFLAGS+=`pkg-config glib-2.0 gthread-2.0 --libs` `mysql_config --libs_r`
 
3
 
 
4
HEADERS=faker.h binlog.h
 
5
OBJECTS=faker.o binlog.o slave.o queue.o
 
6
 
 
7
all: faker
 
8
 
 
9
$(OBJECTS): $(HEADERS)
 
10
faker: $(OBJECTS)
 
11
 
 
12
clean:
 
13
        rm -f *.o *~ faker test-binlog
 
14
 
 
15
indent:
 
16
        indent -kr -ts4 -nut -l80 *.c *.h
 
17
 
 
18
test-binlog: binlog.o test-binlog.o