summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 19:32:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 19:32:37 +0000
commit8931f0018a25010c924f326d4902cff4f935d9e8 (patch)
tree131cfd0ab24b2059a80a85984e492356e69b08b1
parentb476fab34d6eb105ac8b799422590ed4fc8271ac (diff)
Separate tmux target. Doh.
-rw-r--r--GNUmakefile6
-rw-r--r--Makefile6
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: