pluto_hdl_adi/projects/ad9467_fmc/kc705/Makefile

57 lines
1.6 KiB
Makefile
Raw Normal View History

2015-04-01 20:26:38 +00:00
####################################################################################
####################################################################################
## Copyright 2011(c) Analog Devices, Inc.
## Auto-generated, do not modify!
####################################################################################
####################################################################################
M_DEPS := system_project.tcl
M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../scripts/adi_project.tcl
M_DEPS += ../../scripts/adi_board.tcl
2015-04-01 20:26:38 +00:00
M_DEPS += system_bd.tcl
M_DEPS += ../../common/kc705/kc705_system_bd.tcl
M_DEPS += ../common/ad9467_bd.tcl
2015-04-07 20:32:01 +00:00
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../../library/axi_ad9467/axi_ad9467.xpr
2015-04-01 20:26:38 +00:00
2015-04-07 20:32:01 +00:00
M_VIVADO := vivado -mode batch -source
2015-04-01 20:26:38 +00:00
2015-04-07 20:32:01 +00:00
M_FLIST := `find . -not -name '.'
M_FLIST += -not -name '*.tcl'
M_FLIST += -not -name '*.v'
M_FLIST += -not -name '*.xdc'
M_FLIST += -not -name '*.vhd'
M_FLIST += -not -name '*.prj'
M_FLIST += -not -name 'Makefile'
M_FLIST += -not -name '*.h' `
2015-04-01 20:26:38 +00:00
.PHONY: all
all: lib ad9467_fmc_kc705.xpr
.PHONY: clean
clean: clean-all
2015-04-01 20:26:38 +00:00
.PHONY: clean-all
clean-all:
2015-04-07 20:32:01 +00:00
rm -rf $(M_FLIST)
make -C ../../../library/axi_dmac clean
make -C ../../../library/axi_ad9467 clean
2015-04-01 20:26:38 +00:00
ad9467_fmc_kc705.xpr: lib $(M_DEPS)
2015-04-07 20:32:01 +00:00
rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> ad9467_fmc_kc705_vivado.log 2>&1
2015-04-01 20:26:38 +00:00
.PHONY: lib
lib:
2015-04-07 20:32:01 +00:00
make -C ../../../library/axi_dmac
make -C ../../../library/axi_ad9467
2015-04-01 20:26:38 +00:00
####################################################################################
####################################################################################