pluto_hdl_adi/projects/fmcadc2/vc707/Makefile

67 lines
2.1 KiB
Makefile
Raw Normal View History

2015-04-01 20:26:46 +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
M_DEPS += system_bd.tcl
M_DEPS += ../../common/vc707/vc707_system_bd.tcl
M_DEPS += ../../common/xilinx/sys_dmafifo.tcl
M_DEPS += ../common/fmcadc2_bd.tcl
2015-04-07 20:08:38 +00:00
M_DEPS += ../../../library/util_adcfifo/util_adcfifo.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
2015-04-07 20:32:01 +00:00
M_DEPS += ../../../library/axi_ad9625/axi_ad9625.xpr
M_DEPS += ../../../library/axi_jesd_gt/axi_jesd_gt.xpr
M_DEPS += ../../../library/util_bsplit/util_bsplit.xpr
2015-04-01 20:26:46 +00:00
2015-04-07 20:32:01 +00:00
M_VIVADO := vivado -mode batch -source
2015-04-01 20:26:46 +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:46 +00:00
.PHONY: all
all: lib fmcadc2_vc707.xpr
.PHONY: clean
clean: clean-all
2015-04-01 20:26:46 +00:00
.PHONY: clean-all
clean-all:
2015-04-07 20:32:01 +00:00
rm -rf $(M_FLIST)
2015-04-07 20:08:38 +00:00
make -C ../../../library/util_adcfifo clean
2015-04-01 20:26:46 +00:00
make -C ../../../library/axi_dmac clean
2015-04-07 20:32:01 +00:00
make -C ../../../library/axi_ad9625 clean
make -C ../../../library/axi_jesd_gt clean
make -C ../../../library/util_bsplit clean
2015-04-01 20:26:46 +00:00
fmcadc2_vc707.xpr: lib $(M_DEPS)
2015-04-07 20:32:01 +00:00
rm -rf $(M_FLIST)
$(M_VIVADO) system_project.tcl >> fmcadc2_vc707_vivado.log 2>&1
2015-04-01 20:26:46 +00:00
.PHONY: lib
lib:
2015-04-07 20:08:38 +00:00
make -C ../../../library/util_adcfifo
2015-04-01 20:26:46 +00:00
make -C ../../../library/axi_dmac
2015-04-07 20:32:01 +00:00
make -C ../../../library/axi_ad9625
make -C ../../../library/axi_jesd_gt
make -C ../../../library/util_bsplit
2015-04-01 20:26:46 +00:00
####################################################################################
####################################################################################