From c41dc779348c1bb21f70cdb16bcfba83dec030be Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 30 Mar 2005 02:00:15 +0000 Subject: [PATCH] break up compile; new file --- relay/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/relay/Makefile b/relay/Makefile index 3d46a4780..af69d3b73 100644 --- a/relay/Makefile +++ b/relay/Makefile @@ -15,13 +15,18 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -SRC = xwrelay.cpp cref.cpp ctrl.cpp +CC = g++ +SRC = xwrelay.cpp cref.cpp ctrl.cpp tpool.cpp +OBJ = $(patsubst %.cpp,%.o,$(SRC)) LDFLAGS += -lpthread -g +CPPFLAGS += -g all: xwrelay -xwrelay: $(SRC) +xwrelay: $(OBJ) clean: - rm -f xwrelay *.o + rm -f xwrelay $(OBJ) + +tags: + etags *.cpp *.h