75 lines
2.3 KiB
Makefile
75 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/zc706/zc706_system_bd.tcl
|
|
M_DEPS += ../common/daq1_bd.tcl
|
|
M_DEPS += ../../../library/axi_jesd_gt/axi_jesd_gt.xpr
|
|
M_DEPS += ../../../library/util_bsplit/util_bsplit.xpr
|
|
M_DEPS += ../../../library/axi_ad9122/axi_ad9122.xpr
|
|
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
|
|
M_DEPS += ../../../library/axi_spdif_tx/axi_spdif_tx.xpr
|
|
M_DEPS += ../../../library/axi_clkgen/axi_clkgen.xpr
|
|
M_DEPS += ../../../library/axi_ad9250/axi_ad9250.xpr
|
|
M_DEPS += ../../../library/axi_hdmi_tx/axi_hdmi_tx.xpr
|
|
|
|
M_VIVADO := vivado -mode batch -source
|
|
|
|
M_FLIST := *.cache
|
|
M_FLIST += *.data
|
|
M_FLIST += *.xpr
|
|
M_FLIST += *.log
|
|
M_FLIST += *.jou
|
|
M_FLIST += xgui
|
|
M_FLIST += *.runs
|
|
M_FLIST += *.srcs
|
|
M_FLIST += *.sdk
|
|
M_FLIST += .Xil
|
|
|
|
|
|
|
|
.PHONY: all lib clean clean-all
|
|
all: lib daq1_zc706.sdk/system_top.hdf
|
|
|
|
|
|
clean:
|
|
rm -rf $(M_FLIST)
|
|
|
|
|
|
clean-all:clean
|
|
make -C ../../../library/axi_jesd_gt clean
|
|
make -C ../../../library/util_bsplit clean
|
|
make -C ../../../library/axi_ad9122 clean
|
|
make -C ../../../library/axi_dmac clean
|
|
make -C ../../../library/axi_spdif_tx clean
|
|
make -C ../../../library/axi_clkgen clean
|
|
make -C ../../../library/axi_ad9250 clean
|
|
make -C ../../../library/axi_hdmi_tx clean
|
|
|
|
|
|
daq1_zc706.sdk/system_top.hdf: $(M_DEPS)
|
|
rm -rf $(M_FLIST)
|
|
$(M_VIVADO) system_project.tcl >> daq1_zc706_vivado.log 2>&1
|
|
|
|
|
|
lib:
|
|
make -C ../../../library/axi_jesd_gt
|
|
make -C ../../../library/util_bsplit
|
|
make -C ../../../library/axi_ad9122
|
|
make -C ../../../library/axi_dmac
|
|
make -C ../../../library/axi_spdif_tx
|
|
make -C ../../../library/axi_clkgen
|
|
make -C ../../../library/axi_ad9250
|
|
make -C ../../../library/axi_hdmi_tx
|
|
|
|
####################################################################################
|
|
####################################################################################
|