mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-26 00:29:46 +01:00
Separate tmux target. Doh.
This commit is contained in:
parent
b476fab34d
commit
8931f0018a
@ -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)
|
||||
|
6
Makefile
6
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:
|
||||
|
Loading…
Reference in New Issue
Block a user