[78] | 1 | # |
---|
| 2 | # $Id: Makefile.deps 110 2009-02-19 16:31:47Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
| 10 | Direction = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Direction_Glue |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/Makefile.deps |
---|
| 17 | endif |
---|
[110] | 18 | ifndef Meta_Predictor |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Makefile.deps |
---|
| 20 | endif |
---|
[78] | 21 | |
---|
| 22 | #-----[ Directory ]---------------------------------------- |
---|
| 23 | |
---|
| 24 | Direction_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction |
---|
| 25 | |
---|
| 26 | #-----[ Library ]------------------------------------------ |
---|
| 27 | |
---|
| 28 | Direction_LIBRARY = -lDirection \ |
---|
| 29 | $(Behavioural_LIBRARY) \ |
---|
[110] | 30 | $(Direction_Glue_LIBRARY) \ |
---|
| 31 | $(Meta_Predictor_LIBRARY) |
---|
[78] | 32 | |
---|
| 33 | Direction_DIR_LIBRARY = -L$(Direction_DIR)/lib \ |
---|
| 34 | $(Behavioural_DIR_LIBRARY) \ |
---|
[110] | 35 | $(Direction_Glue_DIR_LIBRARY) \ |
---|
| 36 | $(Meta_Predictor_DIR_LIBRARY) |
---|
[78] | 37 | |
---|
| 38 | #-----[ Rules ]-------------------------------------------- |
---|
| 39 | |
---|
| 40 | Direction_library : |
---|
| 41 | @\ |
---|
| 42 | $(MAKE) Behavioural_library; \ |
---|
| 43 | $(MAKE) Direction_Glue_library; \ |
---|
| 44 | $(MAKE) --directory=$(Direction_DIR) --makefile=Makefile; |
---|
[110] | 45 | $(MAKE) Meta_Predictor_library; \ |
---|
[78] | 46 | |
---|
| 47 | Direction_library_clean : |
---|
| 48 | @\ |
---|
| 49 | $(MAKE) Behavioural_library_clean; \ |
---|
| 50 | $(MAKE) Direction_Glue_library_clean; \ |
---|
| 51 | $(MAKE) --directory=$(Direction_DIR) --makefile=Makefile clean; |
---|
[110] | 52 | $(MAKE) Meta_Predictor_library_clean; \ |
---|