<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,9 @@
 #based on the makefiles in rubinius 
 
+# Set this such that $(LIBEVDIR)/lib include libev.so and 
+# $(LIBEVDIR)/include has ev.h
+LIBEVDIR=$(HOME)/local/libev
+
 # Respect the environment
 ifeq ($(CC),)
   CC=gcc
@@ -73,7 +77,7 @@ endif
 
 CFLAGS += -fPIC $(CPPFLAGS)
 DEPS = ebb.h ebb_request_parser.h rbtree.h
-LIBS = -lev
+LIBS = 
 
 GNUTLS_EXISTS = $(shell pkg-config --silence-errors --exists gnutls || echo &quot;no&quot;)
 ifeq ($(GNUTLS_EXISTS),no)
@@ -83,6 +87,8 @@ else
 	LIBS += $(shell pkg-config --libs gnutls)
 	USING_GNUTLS = &quot;yes&quot;
 endif
+CFLAGS += -I$(LIBEVDIR)/include
+LIBS += -L$(LIBEVDIR)/lib -lev
 
 SOURCES=ebb.c ebb_request_parser.c rbtree.c
 OBJS=$(SOURCES:.c=.o)</diff>
      <filename>Makefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>53da4e242527aeddbf1855c8bc682a868103ea6f</id>
    </parent>
  </parents>
  <author>
    <name>Ryan</name>
    <email>ry@tinyclouds.org</email>
  </author>
  <url>http://github.com/ry/libebb/commit/7f734d35349a68fda25259e45b5fbf28aa0e2d96</url>
  <id>7f734d35349a68fda25259e45b5fbf28aa0e2d96</id>
  <committed-date>2008-08-03T11:36:41-07:00</committed-date>
  <authored-date>2008-08-03T11:36:41-07:00</authored-date>
  <message>makefile: add LIBEVDIR var</message>
  <tree>a2d4e7d8f489f27aaa65b567d22a23c15dd6bd87</tree>
  <committer>
    <name>Ryan</name>
    <email>ry@tinyclouds.org</email>
  </committer>
</commit>
