summaryrefslogblamecommitdiff
path: root/tests/Makefile
blob: 02f1c9bef5a92838d3937605d2f0abb0fe2236a3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                             
                    
                
                  
 



                                                 
                       
 
                                                                             

                   
                         
                      



                                          


                
                 
                 
.SECONDARY:

MINIJAZZ=../minijazz/mjc.byte
SCHED=../sched/sched
SIM=../csim/csim
MON=../monitor/mon

%.mon: _build/%.dumb
	$(MON) $(SIM) -rom decode7 decode7.rom $<

%.sim: _build/%.dumb
	$(SIM) -n 12 $<

_build/%.dumb _build/%.snet _build/%_opt.dumb _build/%_opt.snet: _build/%.net
	$(SCHED) $<

_build/%.net: %.mj _build
	$(MINIJAZZ) $<
	mv `basename -s .mj $<`.net _build

_build:
	mkdir _build

clean:
	rm *.net
	rm *.snet
	rm *.dumb