aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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)