Add uninstall target
This commit is contained in:
		
							parent
							
								
									c0c0ef4644
								
							
						
					
					
						commit
						ab950b3044
					
				
							
								
								
									
										9
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								Makefile
									
									
									
									
									
								
							@ -31,9 +31,6 @@ $(OBJS): chat.h
 | 
				
			|||||||
tags: *.h *.c
 | 
					tags: *.h *.c
 | 
				
			||||||
	ctags -w *.h *.c
 | 
						ctags -w *.h *.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install: chatte
 | 
					 | 
				
			||||||
	install chatte $(PREFIX)/bin/chatte
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
chroot.tar: chatte
 | 
					chroot.tar: chatte
 | 
				
			||||||
	mkdir -p root
 | 
						mkdir -p root
 | 
				
			||||||
	install -d -o root -g wheel \
 | 
						install -d -o root -g wheel \
 | 
				
			||||||
@ -69,3 +66,9 @@ chroot.tar: chatte
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	rm -f tags chatte $(OBJS) chroot.tar
 | 
						rm -f tags chatte $(OBJS) chroot.tar
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install: chatte
 | 
				
			||||||
 | 
						install chatte $(PREFIX)/bin/chatte
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					uninstall:
 | 
				
			||||||
 | 
						rm -f $(PREFIX)/bin/chatte
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user