Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 001a7fc6f6
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.545 kB
LIBEVENT ?= /usr/local
TARGET ?= /usr/local
LIBSIMPLEHTTP ?= /usr/local
LIBPUBSUBCLIENT ?= /usr/local
CFLAGS = -I. -I$(LIBSIMPLEHTTP)/include -I$(LIBPUBSUBCLIENT)/include -I.. -I$(LIBEVENT)/include -g -Wall -O2
LIBS = -L. -L$(LIBSIMPLEHTTP)/lib -L$(LIBPUBSUBCLIENT)/lib -L../simplehttp -L../pubsubclient -L$(LIBEVENT)/lib -levent -lpubsubclient -lsimplehttp -lm
all: ps_to_http
ps_to_http: ps_to_http.c
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
install:
/usr/bin/install -D ps_to_http $(TARGET)/bin/ps_to_http
clean:
rm -rf *.o ps_to_http *.dSYM
Jump to Line
Something went wrong with that request. Please try again.