SCRIPTS_DIR			:= ../prj_scripts

.PHONY: help clean

help:
	@echo "make create_prj      set up project build directory"
	@echo "make compile_prj     build the whole project by using script command"
	@echo "make program_prj     program sof file"
	@echo "make gen_jic         generate output files"
	@echo "make clean           clean directory or files"

clean:
	quartus_sh -t $(SCRIPTS_DIR)/clean.tcl

create_prj:
	quartus_sh -t $(SCRIPTS_DIR)/create.tcl

compile_prj:
	quartus_sh -t $(SCRIPTS_DIR)/compile.tcl

program_prj:
	quartus_sh -t $(SCRIPTS_DIR)/program.tcl
    
gen_jic:
	quartus_sh -t $(SCRIPTS_DIR)/gen_jic.tcl
    
test:
	quartus_sh -t $(SCRIPTS_DIR)/test.tcl
    
    
