|
|
|
@ -16,7 +16,7 @@ noconfig: help
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all: dep $(TARGET) test-udp test-tcp test-ssl
|
|
|
|
|
all: dep $(TARGET) test-udp test-tcpserver test-tcpclient test-ssl
|
|
|
|
|
|
|
|
|
|
help:
|
|
|
|
|
echo "set up configuration"
|
|
|
|
@ -29,8 +29,11 @@ configlinux: clean
|
|
|
|
|
configwindows: clean
|
|
|
|
|
cp -f Makefile.rules.windows Makefile.rules
|
|
|
|
|
|
|
|
|
|
test-tcp: $(TARGET) test-tcp.o
|
|
|
|
|
$(CXX) test-tcp.o -o $@ -lUDPTCPNetwork -L./ -I./ $(LDFLAGS)
|
|
|
|
|
test-tcpserver: $(TARGET) test-tcpserver.o
|
|
|
|
|
$(CXX) test-tcpserver.o -o $@ -lUDPTCPNetwork -L./ -I./ $(LDFLAGS)
|
|
|
|
|
|
|
|
|
|
test-tcpclient: $(TARGET) test-tcpclient.o
|
|
|
|
|
$(CXX) test-tcpclient.o -o $@ -lUDPTCPNetwork -L./ -I./ $(LDFLAGS)
|
|
|
|
|
|
|
|
|
|
test-ssl: $(TARGET) test-ssl.o
|
|
|
|
|
$(CXX) test-ssl.o -o $@ -lUDPTCPNetwork -L./ -I./ $(LDFLAGS)
|
|
|
|
|