From 6cb406b3eef4a54ba8bc2e7d3d1fb619f0a5d219 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 30 Jun 2011 11:28:40 +0200 Subject: pingu: initial use of libev For now we only use libev to generate the ping burst intervals. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index daf1b72..25774ba 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ VERSION = 0.5 CFLAGS ?= -g CFLAGS += -DPINGU_VERSION=\"$(VERSION)\" +CFLAGS += -Wall -Wstrict-prototypes -D_GNU_SOURCE -std=gnu99 prefix = /usr BINDIR = $(prefix)/bin @@ -18,6 +19,8 @@ pingu_OBJS = \ pingu.o \ xlib.o +pingu_LIBS = -lev + mtu_OBJS = \ mtu.o \ netlink.o \ @@ -28,6 +31,7 @@ ALL_OBJS= $(pingu_OBJS) $(mtu_OBJS) all: $(TARGETS) pingu: $(pingu_OBJS) + $(CC) $(LDFLAGS) $(pingu_OBJS) $(pingu_LIBS) -o $@ mtu: $(mtu_OBJS) -- cgit v1.2.3