summaryrefslogtreecommitdiffstats
path: root/hw_v5_fx30t_extension/simulation
diff options
context:
space:
mode:
authorBert Lange <b.lange@hzdr.de>2012-02-10 11:20:31 +0100
committerBert Lange <b.lange@hzdr.de>2012-02-10 11:20:31 +0100
commit64a03eb90ddb6f4b43e519b4e29abbf730931a83 (patch)
tree8839ae124f7d672110fed6a5a95bf4dbdfea0a03 /hw_v5_fx30t_extension/simulation
parentdfe2633a83c933379c512f432de2444e1075846d (diff)
downloadzpu-64a03eb90ddb6f4b43e519b4e29abbf730931a83.zip
zpu-64a03eb90ddb6f4b43e519b4e29abbf730931a83.tar.gz
update: to grlib-gpl-1.1.0-b4112
Diffstat (limited to 'hw_v5_fx30t_extension/simulation')
-rw-r--r--hw_v5_fx30t_extension/simulation/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/hw_v5_fx30t_extension/simulation/Makefile b/hw_v5_fx30t_extension/simulation/Makefile
index 9adba37..f67ee5a 100644
--- a/hw_v5_fx30t_extension/simulation/Makefile
+++ b/hw_v5_fx30t_extension/simulation/Makefile
@@ -1,13 +1,15 @@
#
# $HeadURL: https://svn.fzd.de/repo/concast/FWF_Projects/FWKE/beam_position_monitor/hardware/board_sp605/simulation/Makefile $
-# $Date: 2011-09-05 16:49:43 +0200 (Mo, 05. Sep 2011) $
-# $Author: lange $
-# $Revision: 1240 $
+# $Date$
+# $Author$
+# $Revision$
#
library = work
top = top
+library_list = $(shell cut --field 1 --delimiter=" " --only-delimited vhdl_files.txt | uniq)
+
# http://sourceforge.net/projects/vmk/
VMK = vmk
@@ -33,6 +35,7 @@ clean:
make -f Makefile.msim clean
rm -f Makefile.msim
rm -f .stamp
+ for lib in $(library_list); do rm -rf $$lib; done
# default patterns
@@ -45,6 +48,6 @@ $(library):
# generate Makefile.msim with vmk
Makefile.msim: vhdl_files.txt lib
- vlib work
+ for lib in $(library_list); do vlib $$lib; done
$(VMK) -t modelsim -O -w $(library) -F vhdl_files.txt
OpenPOWER on IntegriCloud