Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (14 sloc) 0.556 kB
8f8e506 @jehiah consistent Makefiles
authored
1 LIBEVENT ?= /usr/local
9139c67 @jehiah add TARGET to makefiles
authored
2 TARGET ?= /usr/local
8f8e506 @jehiah consistent Makefiles
authored
3 LIBSIMPLEHTTP ?= ../simplehttp
316dcd1 @mreiferson updated makefiles to compile against the local simplehttp when nothin…
mreiferson authored
4 LIBSIMPLEHTTP_INC ?= $(LIBSIMPLEHTTP)/..
8f8e506 @jehiah consistent Makefiles
authored
5 LIBSIMPLEHTTP_LIB ?= $(LIBSIMPLEHTTP)
6
7 CFLAGS = -I. -I$(LIBSIMPLEHTTP_INC) -I$(LIBEVENT)/include -Wall -g -O2
8 LIBS = -L. -L$(LIBSIMPLEHTTP_LIB) -L$(LIBEVENT)/lib -L/usr/local/lib -levent -ljson -ltokyotyrant -ltokyocabinet -lsimplehttp
c15b542 @jayridge deleted old crap
jayridge authored
9
e91b668 @mreiferson refactor stats collection into simplehttp; add generic logging to sim…
mreiferson authored
10 simpletokyo: simpletokyo.c
5f5351c @mreiferson move timer code into separate path; add request timings for get, get_…
mreiferson authored
11 $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
a4c748c @jehiah test case for double escaped entries; and remove double-escape code
authored
12
13 install:
083363b @jehiah use install -d instead of -D for mac compatibility; fill in missing '…
authored
14 /usr/bin/install -d $(TARGET)/bin/
15 /usr/bin/install simpletokyo $(TARGET)/bin/
466da65 @jayridge timedcounter module
jayridge authored
16
17 clean:
07ce98a @jehiah switch simpletokyo to getopt(), add incr() and get_int() endpoints, t…
authored
18 rm -rf *.o simpletokyo *.dSYM test_output
Something went wrong with that request. Please try again.