mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 12:11:27 -05:00 
			
		
		
		
	Assume GNU make. We already do with the toplevel makefile. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			309 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			309 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
PANDOC = pandoc
 | 
						|
 | 
						|
default: all
 | 
						|
 | 
						|
all_markdown = $(wildcard *.md */*.md)
 | 
						|
 | 
						|
html: $(all_markdown:.md=.html)
 | 
						|
pdf: $(all_markdown:.md=.pdf)
 | 
						|
all: html pdf
 | 
						|
 | 
						|
.SUFFIXES:
 | 
						|
.SUFFIXES: .md .html .pdf
 | 
						|
 | 
						|
.md.html:
 | 
						|
	$(PANDOC) -o $@ $<
 | 
						|
.md.pdf:
 | 
						|
	$(PANDOC) -o $@ $<
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f *.html *.pdf
 | 
						|
	rm -f testing/*.html testing/*.pdf
 |