Make uses the first target defined if one is not specified on the command line. This makes the `compile' target the default one, which seems more sensible than the `update'. Signed-off-by: Justin Abrahms <justin@abrah.ms>
		
			
				
	
	
		
			17 lines
		
	
	
		
			254 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			254 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
EMACS =		emacs
 | 
						|
 | 
						|
compile: clean lint
 | 
						|
	${EMACS} --version
 | 
						|
	${EMACS} -batch -l test/elpa.el -l test/compile.el
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f *.elc
 | 
						|
 | 
						|
lint:
 | 
						|
	${EMACS} --batch -l test/lint.el
 | 
						|
 | 
						|
update:
 | 
						|
	${EMACS} -batch -l test/make-update.el
 | 
						|
 | 
						|
.PHONY: update compile test clean
 |