73 lines
2.3 KiB
Makefile
73 lines
2.3 KiB
Makefile
####################################################################################
|
|
####################################################################################
|
|
## 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/kc705/kc705_system_bd.tcl
|
|
M_DEPS += ../../common/xilinx/sys_dmafifo.tcl
|
|
M_DEPS += ../common/daq2_bd.tcl
|
|
M_DEPS += ../../../library/axi_jesd_gt/axi_jesd_gt.xpr
|
|
M_DEPS += ../../../library/util_bsplit/util_bsplit.xpr
|
|
M_DEPS += ../../../library/axi_ad9680/axi_ad9680.xpr
|
|
M_DEPS += ../../../library/util_adcfifo/util_adcfifo.xpr
|
|
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
|
|
M_DEPS += ../../../library/util_ccat/util_ccat.xpr
|
|
M_DEPS += ../../../library/axi_ad9144/axi_ad9144.xpr
|
|
|
|
M_VIVADO := vivado -mode batch -source
|
|
|
|
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' `
|
|
|
|
|
|
.PHONY: all
|
|
all: lib daq2_kc705.xpr
|
|
|
|
|
|
.PHONY: clean
|
|
clean: clean-all
|
|
|
|
|
|
.PHONY: clean-all
|
|
clean-all:
|
|
rm -rf $(M_FLIST)
|
|
make -C ../../../library/axi_jesd_gt clean
|
|
make -C ../../../library/util_bsplit clean
|
|
make -C ../../../library/axi_ad9680 clean
|
|
make -C ../../../library/util_adcfifo clean
|
|
make -C ../../../library/axi_dmac clean
|
|
make -C ../../../library/util_ccat clean
|
|
make -C ../../../library/axi_ad9144 clean
|
|
|
|
|
|
daq2_kc705.xpr: lib $(M_DEPS)
|
|
rm -rf $(M_FLIST)
|
|
$(M_VIVADO) system_project.tcl >> daq2_kc705_vivado.log 2>&1
|
|
|
|
|
|
.PHONY: lib
|
|
lib:
|
|
make -C ../../../library/axi_jesd_gt
|
|
make -C ../../../library/util_bsplit
|
|
make -C ../../../library/axi_ad9680
|
|
make -C ../../../library/util_adcfifo
|
|
make -C ../../../library/axi_dmac
|
|
make -C ../../../library/util_ccat
|
|
make -C ../../../library/axi_ad9144
|
|
|
|
####################################################################################
|
|
####################################################################################
|