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
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 $@ $<