wmtime: Use rm -f in make clean.
This patch uses the -f option for rm in make clean so that no error occurs when make clean is run while no object or binary files exist. (It also adds a newline at the end of the Makefile thanks to emacs.)
This commit is contained in:
		
							parent
							
								
									d6ef017638
								
							
						
					
					
						commit
						0119083b0a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -17,9 +17,9 @@ wmtime: $(OBJS) $(XPMS)
 | 
			
		|||
 | 
			
		||||
clean::
 | 
			
		||||
	for i in $(OBJS) ; do \
 | 
			
		||||
		rm $$i; \
 | 
			
		||||
		rm -f $$i; \
 | 
			
		||||
	done
 | 
			
		||||
	rm wmtime
 | 
			
		||||
	rm -f wmtime
 | 
			
		||||
 | 
			
		||||
install:: wmtime
 | 
			
		||||
	install -m 755 wmtime $(DESTDIR)/usr/bin
 | 
			
		||||
	install -m 755 wmtime $(DESTDIR)/usr/bin
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue