wmix: changed the makefile to use the standard practice LIBS variable for libraries
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
		
							parent
							
								
									65f5baad33
								
							
						
					
					
						commit
						f5e5d2ffcb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
CC		= gcc
 | 
					CC		= gcc
 | 
				
			||||||
CFLAGS		= -O3 -W -Wall
 | 
					CFLAGS		= -O3 -W -Wall
 | 
				
			||||||
LDFLAGS		= -L/usr/X11R6/lib
 | 
					LDFLAGS		= -L/usr/X11R6/lib
 | 
				
			||||||
 | 
					LIBS		= -lXpm -lXext -lX11 -lm
 | 
				
			||||||
OBJECTS		= misc.o mixer-oss.o ui_x.o wmix.o
 | 
					OBJECTS		= misc.o mixer-oss.o ui_x.o wmix.o
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# where to install this program (also for packaging stuff)
 | 
					# where to install this program (also for packaging stuff)
 | 
				
			||||||
| 
						 | 
					@ -10,7 +11,7 @@ INSTALL_BIN	= -m 755
 | 
				
			||||||
INSTALL_DATA	= -m 644
 | 
					INSTALL_DATA	= -m 644
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wmix: $(OBJECTS)
 | 
					wmix: $(OBJECTS)
 | 
				
			||||||
	$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm
 | 
						$(CC) -o $@ $(LDFLAGS) $(OBJECTS) $(LIBS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	rm -rf *.o wmix *~
 | 
						rm -rf *.o wmix *~
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue