From 8931f0018a25010c924f326d4902cff4f935d9e8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 14 May 2009 19:32:37 +0000 Subject: [PATCH] Separate tmux target. Doh. --- GNUmakefile | 6 ++++-- Makefile | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 9942b8e1..47097879 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -# $Id: GNUmakefile,v 1.101 2009-05-14 00:31:48 nicm Exp $ +# $Id: GNUmakefile,v 1.102 2009-05-14 19:32:37 nicm Exp $ .PHONY: clean @@ -38,7 +38,9 @@ SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g') include config.mk OBJS= $(patsubst %.c,%.o,$(SRCS)) -all: $(OBJS) +all: tmux + +tmux: $(OBJS) $(CC) $(LDFLAGS) -o tmux $+ $(LIBS) depend: $(SRCS) diff --git a/Makefile b/Makefile index c048e377..767fe5d1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.135 2009-05-14 00:31:48 nicm Exp $ +# $Id: Makefile,v 1.136 2009-05-14 19:32:37 nicm Exp $ .SUFFIXES: .c .o .PHONY: clean @@ -42,7 +42,9 @@ OBJS= ${SRCS:S/.c/.o/} .c.o: ${CC} ${CPPFLAGS} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} -all: ${OBJS} +all: tmux + +tmux: ${OBJS} ${CC} ${LDFLAGS} -o tmux ${OBJS} ${LIBS} depend: