-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 699 Bytes
/
Makefile
File metadata and controls
29 lines (22 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# TCP Proxy Server
# ~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2007 Arash Partow (http://www.partow.net)
# URL: http://www.partow.net/programming/tcpproxy/index.html
#
# Distributed under the Boost Software License, Version 1.0.
#
COMPILER = -c++
OPTIMIZATION_OPT = -O3
OPTIONS = -pedantic -ansi -Wall -Werror $(OPTIMIZATION_OPT) -o
PTHREAD = -lpthread
LINKER_OPT = -L/usr/lib -lstdc++ $(PTHREAD) -lboost_thread -lboost_system
BUILD_LIST+=tcpproxy_server
all: $(BUILD_LIST)
tcpproxy_server: tcpproxy_server.cpp
$(COMPILER) $(OPTIONS) tcpproxy_server tcpproxy_server.cpp $(LINKER_OPT)
strip_bin :
strip -s tcpproxy
clean:
rm -f core *.o *.bak *~ *stackdump *#