2021-08-10 19:00:16 -04:00
|
|
|
current_dir := ${CURDIR}
|
|
|
|
TOP := top
|
|
|
|
SOURCES := ${current_dir}/counter.v
|
2020-04-20 11:02:06 -04:00
|
|
|
|
2021-08-10 19:00:16 -04:00
|
|
|
ifeq ($(TARGET),arty_35)
|
|
|
|
XDC := ${current_dir}/arty.xdc
|
|
|
|
else ifeq ($(TARGET),arty_100)
|
|
|
|
XDC := ${current_dir}/arty.xdc
|
|
|
|
else ifeq ($(TARGET),nexys4ddr)
|
|
|
|
XDC := ${current_dir}/nexys4ddr.xdc
|
|
|
|
else ifeq ($(TARGET),zybo)
|
|
|
|
XDC := ${current_dir}/zybo.xdc
|
|
|
|
SOURCES:=${current_dir}/counter_zynq.v
|
|
|
|
else ifeq ($(TARGET),nexys_video)
|
|
|
|
XDC := ${current_dir}/nexys_video.xdc
|
|
|
|
else
|
|
|
|
XDC := ${current_dir}/basys3.xdc
|
|
|
|
endif
|
|
|
|
|
|
|
|
export
|
2020-06-10 04:03:21 -04:00
|
|
|
|
2021-08-10 18:47:29 -04:00
|
|
|
all:
|
|
|
|
cd ../../common && $(MAKE)
|
2020-04-20 11:02:06 -04:00
|
|
|
clean:
|
2021-08-10 18:47:29 -04:00
|
|
|
cd ../../common && $(MAKE) clean
|
|
|
|
|