18 lines
		
	
	
		
			310 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			310 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| all: sim
 | |
| sim: pdmout_test.ghw square_test.ghw wave_test.ghw
 | |
| 
 | |
| sim_sources = pdmout_test.vhdl square_test.vhdl wave_test.vhdl
 | |
| sources = pdmout.vhdl square.vhdl wave.vhdl pdm.vhdl
 | |
| 
 | |
| 
 | |
| %.ghw: work-obj93.cf
 | |
| 	ghdl -r $* --wave=$@
 | |
| 
 | |
| 
 | |
| work-obj93.cf: $(sim_sources) $(sources)
 | |
| 	ghdl -a $^
 | |
| 
 | |
| PHONY: sim
 | |
| 
 | |
| .PRECIOUS: test.ghw
 |