separated udp
[radsecproxy.git] / Makefile
index 3ebbe09..51d2b95 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
 CFLAGS = -g -Wall -pedantic -pthread
 LDFLAGS = -lssl
-OBJ = util.o debug.o list.o radsecproxy.o
+OBJ = util.o debug.o list.o gconfig.o udp.o tcp.o tls.o dtls.o radsecproxy.o
 
 all: radsecproxy
 
 radsecproxy: $(OBJ)
        $(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o radsecproxy
+
+catgconf: util.o debug.o gconfig.o catgconf.o
+       $(CC) $(CFLAGS) util.o debug.o gconfig.o catgconf.o -o catgconf
+
 clean:
-       rm -f $(OBJ) radsecproxy
+       rm -f $(OBJ) catgconf.o radsecproxy catgconf