source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/Makefile.deps @ 76

Last change on this file since 76 was 76, checked in by rosiere, 16 years ago

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

File size: 900 bytes
Line 
1#
2# $Id$
3#
4# [ Description ]
5#
6# Makefile
7#
8# DIR_MORPHEO must be defined
9
10@COMPONENT                      = yes
11
12ifndef Behavioural
13include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
14endif
15
16#-----[ Directory ]----------------------------------------
17
18@COMPONENT_DIR                  =       $(DIR_MORPHEO)/Behavioural/@DIRECTORY
19
20#-----[ Library ]------------------------------------------
21@COMPONENT_LIBRARY              =       -l@COMPONENT    \
22                                        $(Behavioural_LIBRARY) 
23
24@COMPONENT_DIR_LIBRARY          =       -L$(@COMPONENT_DIR)/lib \
25                                        $(Behavioural_DIR_LIBRARY)
26
27#-----[ Rules ]--------------------------------------------
28
29@COMPONENT_library              :
30                                @\
31                                $(MAKE) --directory=$(Behavioural_DIR) --makefile=Makefile;
32                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile;
33
34@COMPONENT_library_clean        :
35                                @\
36                                $(MAKE) --directory=$(Behavioural_DIR) --makefile=Makefile clean;
37                                $(MAKE) --directory=$(@COMPONENT_DIR) --makefile=Makefile clean;
Note: See TracBrowser for help on using the repository browser.