mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Separate tmux target. Doh.
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user