- added Makefile which calls all *.make

- fixed paths after refactoring


git-svn-id: http://moon:8086/svn/vhdl/trunk@1513 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2021-03-24 12:53:51 +00:00
parent 3bb2a235f5
commit 5e1f2c0642
7 changed files with 22 additions and 7 deletions
+15
View File
@@ -0,0 +1,15 @@
TARGETS = $(shell find lib/ -name "*.make")
INSTR := $(foreach number,$(TARGETS),make -C $(shell dirname $(number)) -f $(shell basename $(number)) $(MAKECMDGOALS) &&) true
all:
$(INSTR)
elaborate:
$(INSTR)
run:
$(INSTR)
clean:
$(INSTR)
+2 -2
View File
@@ -3,8 +3,8 @@ include ../../../../lib/FIFO/ghdl/fifo_sync.inc
include ../../../../lib/FIFO/ghdl/fifo_async.inc
# RAMS
SRCS += ../../../rams/dpram_2w2r2c_ra_sim.vhd
SRCS += ../../../rams/dpram_1w1r2c_ra_sim.vhd
SRCS += ../../../rams/sim/dpram_2w2r2c_ra.vhd
SRCS += ../../../rams/sim/dpram_1w1r2c_ra.vhd
# FIFOS
SRCS += $(FIFO_SYNC_SRCS)
+1 -1
View File
@@ -5,7 +5,7 @@ LIB_PATH := $(ROOT_PATH)/lib
CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS := $(LIB_PATH)/rams/dpram_1w1r2c_ra_sim.vhd
SRCS := $(LIB_PATH)/rams/sim/dpram_1w1r2c_ra.vhd
SRCS += $(LIB_PATH)/FIFO/src/fifo_ctrl_pkg.vhd
SRCS += $(LIB_PATH)/FIFO/src/gray_counter.vhd
SRCS += $(LIB_PATH)/FIFO/src/fifo_async_ctrl.vhd
+1 -1
View File
@@ -5,7 +5,7 @@ LIB_PATH := $(ROOT_PATH)/lib
CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS := $(LIB_PATH)/rams/dpram_1w1r2c_ra_sim.vhd
SRCS := $(LIB_PATH)/rams/sim/dpram_1w1r2c_ra.vhd
SRCS += $(LIB_PATH)/FIFO/src/fifo_ctrl_pkg.vhd
SRCS += $(LIB_PATH)/FIFO/src/fifo_sync_ctrl.vhd
SRCS += $(LIB_PATH)/FIFO/src/fifo_sync.vhd
+1 -1
View File
@@ -8,7 +8,7 @@ CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS += $(LIB_PATH)/misc/utils_pkg.vhd
SRCS += $(LIB_PATH)/rams/dpram_1w1r2c_ro_sim.vhd
SRCS += $(LIB_PATH)/rams/sim/dpram_1w1r2c_ro.vhd
SRCS += $(FIFO_ASYNC_SRCS)
SRCS += $(LIB_PATH)/emac/src/sipo.vhd
SRCS += $(LIB_PATH)/emac/src/crc32.vhd
+1 -1
View File
@@ -9,7 +9,7 @@ CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS += $(LIB_PATH)/misc/utils_pkg.vhd
SRCS += $(LIB_PATH)/rams/dpram_1w1r2c_ro_sim.vhd
SRCS += $(LIB_PATH)/rams/sim/dpram_1w1r2c_ro.vhd
SRCS += $(FIFO_SYNC_SRCS)
SRCS += $(FIFO_ASYNC_SRCS)
SRCS += $(LIB_PATH)/emac/src/piso.vhd
+1 -1
View File
@@ -6,7 +6,7 @@ CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS := $(LIB_PATH)/misc/utils_pkg.vhd
SRCS += $(LIB_PATH)/rams/dpram_1w1r2c_ro_sim.vhd
SRCS += $(LIB_PATH)/rams/sim/dpram_1w1r2c_ro.vhd
SRCS += $(LIB_PATH)/fixed/ieee_proposed/fixed_util_pkg.vhd
SRCS += $(LIB_PATH)/filter/src/filter_pkg.vhd
SRCS += $(LIB_PATH)/filter/src/fir_pkg.vhd