CFLAGS += $(shell pkg-config --cflags libevent) LDFLAGS += $(shell pkg-config --libs libevent)