Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f3d94f7330
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.595 kb
LIBEVENT ?= /usr/local
TARGET ?= /usr/local
LIBSIMPLEHTTP ?= ../simplehttp
LIBSIMPLEHTTP_INC ?= $(LIBSIMPLEHTTP)/..
LIBSIMPLEHTTP_LIB ?= $(LIBSIMPLEHTTP)
CFLAGS = -I. -I$(LIBSIMPLEHTTP_INC) -I$(LIBEVENT)/include -g
LIBS = -L. -L$(LIBSIMPLEHTTP_LIB) -L$(LIBEVENT)/lib -L/usr/local/lib -lsimplehttp -levent -ljson -ltokyotyrant -ltokyocabinet -lz -lbz2 -lresolv -ldl -lpthread -lm -lc
simpleattributes: simpleattributes.c
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
install:
/usr/bin/install -d $(TARGET)/bin
/usr/bin/install simpleattributes $(TARGET)/bin
clean:
rm -rf *.o simpleattributes *.dSYM
Jump to Line
Something went wrong with that request. Please try again.