use LIBDIR in all Makefile
This commit is contained in:
		
							parent
							
								
									635bc5a72c
								
							
						
					
					
						commit
						3324a4e94e
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										1
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -6,6 +6,7 @@ MODULES		= src src/common po | |||
| PREFIX		= /usr/local | ||||
| DESTDIR		=  | ||||
| LIBDIR		= /lib | ||||
| export LIBDIR | ||||
| MANDIR		= $(DESTDIR)$(PREFIX)/share/man | ||||
| 
 | ||||
| FIND		= find . \( -name '*.glade' -o -name '*.py' -o -name '*.xpm' -o -name '*.gif' -o -name '*.png' -o -name '*.wav' \) | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` | |||
| all: idle.so | ||||
| 
 | ||||
| idle.so: | ||||
| 	$(CC) $(CFLAGS) $(LDFLAGS) -shared idle.c $^ -o $@ -L/usr/X11R6/lib -lX11 -lXss -lXext | ||||
| 	$(CC) $(CFLAGS) $(LDFLAGS) -shared idle.c $^ -o $@ -L/usr/X11R6$(LIBDIR) -lX11 -lXss -lXext | ||||
| 
 | ||||
| clean: | ||||
| 	rm -f *.so | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue