projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync
[l2tpns.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
b9007fa
..
9cad50b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-29,7
+29,7
@@
OBJS= md5.o \
PLUGINS=garden.so autothrottle.so autosnoop.so
PLUGINS=garden.so autothrottle.so autosnoop.so
-all: l2tpns nsctl $(PLUGINS)
+all: l2tpns nsctl
generateload bounce
$(PLUGINS)
clean:
/bin/rm -f *.o *.so l2tpns nsctl
clean:
/bin/rm -f *.o *.so l2tpns nsctl
@@
-74,6
+74,12
@@
l2tpns: $(OBJS)
nsctl: nsctl.o control.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
nsctl: nsctl.o control.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
+generateload: test/generateload.o
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
+
+bounce: test/bounce.o
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
+
%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<
%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<