pluto_hdl_adi/projects/pluto/Makefile

68 lines
1.9 KiB
Makefile
Raw Normal View History

2016-08-19 17:45:40 +00:00
####################################################################################
####################################################################################
## Copyright 2011(c) Analog Devices, Inc.
## Auto-generated, do not modify!
####################################################################################
####################################################################################
M_DEPS += system_top.v
M_DEPS += system_project.tcl
M_DEPS += system_constr.xdc
M_DEPS += system_bd.tcl
2016-08-19 19:59:41 +00:00
M_DEPS += ../scripts/adi_project.tcl
M_DEPS += ../scripts/adi_env.tcl
M_DEPS += ../scripts/adi_board.tcl
M_DEPS += ../../library/xilinx/common/ad_iobuf.v
2017-03-20 20:05:18 +00:00
M_DEPS += ../../library/axi_ad9361/axi_ad9361_delay.tcl
2016-08-19 19:59:41 +00:00
M_DEPS += ../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../library/util_fir_dec/util_fir_dec.xpr
M_DEPS += ../../library/util_fir_int/util_fir_int.xpr
2016-08-19 17:45:40 +00:00
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 += *.hw
M_FLIST += *.sim
M_FLIST += .Xil
M_FLIST += *.ip_user_files
.PHONY: all lib clean clean-all
2016-11-11 18:52:57 +00:00
all: lib pluto.sdk/system_top.hdf
2016-08-19 17:45:40 +00:00
clean:
rm -rf $(M_FLIST)
clean-all:clean
2016-08-19 19:59:41 +00:00
make -C ../../library/axi_ad9361 clean
make -C ../../library/axi_dmac clean
make -C ../../library/util_fir_dec clean
make -C ../../library/util_fir_int clean
2016-08-19 17:45:40 +00:00
2016-11-11 18:52:57 +00:00
pluto.sdk/system_top.hdf: $(M_DEPS)
2016-08-19 17:45:40 +00:00
-rm -rf $(M_FLIST)
2016-11-11 18:52:57 +00:00
$(M_VIVADO) system_project.tcl >> pluto_vivado.log 2>&1
2016-08-19 17:45:40 +00:00
lib:
2016-08-19 19:59:41 +00:00
make -C ../../library/axi_ad9361
make -C ../../library/axi_dmac
make -C ../../library/util_fir_dec
make -C ../../library/util_fir_int
2016-08-19 17:45:40 +00:00
####################################################################################
####################################################################################