mirror of
				https://github.com/kastdeur/pipeband-music.git
				synced 2025-10-31 02:16:34 +01:00 
			
		
		
		
	Makefile for ./template
This commit is contained in:
		
							parent
							
								
									281446d41d
								
							
						
					
					
						commit
						1429966189
					
				
					 1 changed files with 27 additions and 0 deletions
				
			
		
							
								
								
									
										27
									
								
								template/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								template/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,27 @@ | |||
| # determine how many processors are present
 | ||||
| CPU_CORES :=`cat /proc/cpuinfo | grep -m1 "cpu cores" | sed s/".*: "//` | ||||
| # The command to run lilypond
 | ||||
| LILYPOND := ../build | ||||
| LILYFLAGS := -djob-count=$(CPU_CORES) -dno-preview | ||||
| 
 | ||||
| # Suffixes used in this Makefile
 | ||||
| .SUFFIXES: | ||||
| .SUFFIXES: .ly .pdf | ||||
| 
 | ||||
| SOURCES := $(wildcard ./*.ly) | ||||
| OUTPUTS = $(patsubst %.ly,%.pdf,$(SOURCES)) | ||||
| 
 | ||||
| .PHONY: all dist distclean clean | ||||
| 
 | ||||
| all: dist | ||||
| 
 | ||||
| clean: | ||||
| 	rm -vf *.midi | ||||
| 
 | ||||
| dist: $(OUTPUTS) | ||||
| 
 | ||||
| distclean: clean | ||||
| 	rm -f $(OUTPUTS) | ||||
| 
 | ||||
| %.pdf: %.ly | ||||
| 	$(LILYPOND) $(LILYFLAGS) $< | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue