|  | @@ -1208,17 +1208,10 @@ endif
 | 
	
		
			
				|  |  |  % if lib.get('secure', 'check') == 'yes' or lib.get('secure', 'check') == 'check':
 | 
	
		
			
				|  |  |  endif
 | 
	
		
			
				|  |  |  % endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  % for src in lib.src:
 | 
	
		
			
				|  |  | -% if not proto_re.match(src):
 | 
	
		
			
				|  |  | -$(OBJDIR)/$(CONFIG)/${os.path.splitext(src)[0]}.o: \
 | 
	
		
			
				|  |  | -% for src2 in lib.src:
 | 
	
		
			
				|  |  | -% if proto_re.match(src2):
 | 
	
		
			
				|  |  | -    ${proto_to_cc(src2)}\
 | 
	
		
			
				|  |  | +% if not proto_re.match(src) and any(proto_re.match(src2) for src2 in lib.src):
 | 
	
		
			
				|  |  | +$(OBJDIR)/$(CONFIG)/${os.path.splitext(src)[0]}.o: ${' '.join(proto_to_cc(src2) for src2 in lib.src if proto_re.match(src2))}
 | 
	
		
			
				|  |  |  % endif
 | 
	
		
			
				|  |  | -% endfor
 | 
	
		
			
				|  |  | -% endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  % endfor
 | 
	
		
			
				|  |  |  </%def>
 | 
	
		
			
				|  |  |  
 |