1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-06 16:14:42 +00:00
Files
mist-devel.mist-board/cores/spectrum/Makefile
sleary 2eefe16a22 Adding a makefile for the spectrum.
Derived from the minimig Makefile
2014-09-21 20:38:14 +00:00

47 lines
598 B
Makefile

# MINIMIG-DE1
# fpga makefile
# 2012, rok.krajnc@gmail.com
### programs ###
MAP=quartus_map
FIT=quartus_fit
ASM=quartus_asm
PGM=quartus_pgm
### project ###
PROJECT=spectrum
### build rules ###
# all
all:
@echo Making FPGA programming files ...
@make map
@make fit
@make asm
map:
@echo Running mapper ...
@$(MAP) $(PROJECT)
fit:
@echo Running fitter ...
@$(FIT) $(PROJECT)
asm:
@echo Running assembler ...
@$(ASM) $(PROJECT)
run:
@$(PGM) -c USB-Blaster -m jtag -o "p;./out/$(PROJECT).sof"
# clean
clean:
@echo clean
@rm -rf ./out/
@rm -rf ./db/
@rm -rf ./incremental_db/