Separate tmux target. Doh.

This commit is contained in:
Nicholas Marriott 2009-05-14 19:32:37 +00:00
parent b476fab34d
commit 8931f0018a
2 changed files with 8 additions and 4 deletions

View File

@ -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)

View File

@ -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: