parameterize archiver used
This commit is contained in:
		
							parent
							
								
									b5d320392c
								
							
						
					
					
						commit
						ea4b32d326
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -5,6 +5,7 @@ COMPARE = $(MODULES)/compare | ||||||
| LIBSYS	= libsystem.a | LIBSYS	= libsystem.a | ||||||
| INCLUDES = -I. | INCLUDES = -I. | ||||||
| CFLAGS	= $(INCLUDES) -O | CFLAGS	= $(INCLUDES) -O | ||||||
|  | AR = ar | ||||||
| OBJ	= access.o break.o chmode.o close.o create.o filesize.o \
 | OBJ	= access.o break.o chmode.o close.o create.o filesize.o \
 | ||||||
| 	modtime.o lock.o open.o read.o remove.o stop.o \
 | 	modtime.o lock.o open.o read.o remove.o stop.o \
 | ||||||
| 	system.o time.o unlock.o write.o seek.o | 	system.o time.o unlock.o write.o seek.o | ||||||
|  | @ -17,7 +18,7 @@ all:		$(LIBSYS) | ||||||
| 
 | 
 | ||||||
| $(LIBSYS):	$(OBJ) | $(LIBSYS):	$(OBJ) | ||||||
| 		rm -f $(LIBSYS) | 		rm -f $(LIBSYS) | ||||||
| 		ar r $(LIBSYS) $(OBJ) | 		$(AR) r $(LIBSYS) $(OBJ) | ||||||
| 		-sh -c 'ranlib $(LIBSYS)' | 		-sh -c 'ranlib $(LIBSYS)' | ||||||
| 
 | 
 | ||||||
| install:	all | install:	all | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue