summaryrefslogtreecommitdiffstats
path: root/tests/tcp_proxy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcp_proxy/Makefile')
-rw-r--r--tests/tcp_proxy/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/tcp_proxy/Makefile b/tests/tcp_proxy/Makefile
new file mode 100644
index 00000000..d19b4818
--- /dev/null
+++ b/tests/tcp_proxy/Makefile
@@ -0,0 +1,12 @@
+CFLAGS = -O2 -Wall -I../../common
+LDFLAGS = -Wl
+OBJS = main.o ../../common/os_calls.o
+LIBS = -ldl
+
+all: tcp_proxy
+
+tcp_proxy: $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o tcp_proxy $(OBJS) $(LIBS)
+
+.PHONY clean:
+ rm -f $(OBJS) tcp_proxy