diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-30 11:28:40 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-30 11:44:38 +0200 |
commit | 6cb406b3eef4a54ba8bc2e7d3d1fb619f0a5d219 (patch) | |
tree | be56fe49c5f5438032ac58315a810c4346869a47 /Makefile | |
parent | e1ad76a6cfb76d3df75c8ae0dec120ee73e39cfc (diff) | |
download | pingu-6cb406b3eef4a54ba8bc2e7d3d1fb619f0a5d219.tar.bz2 pingu-6cb406b3eef4a54ba8bc2e7d3d1fb619f0a5d219.tar.xz |
pingu: initial use of libev
For now we only use libev to generate the ping burst intervals.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |