| 1 |
############################################################################ |
| 2 |
# This file is part of FreeFEM. # |
| 3 |
# # |
| 4 |
# FreeFEM is free software: you can redistribute it and/or modify # |
| 5 |
# it under the terms of the GNU Lesser General Public License as # |
| 6 |
# published by the Free Software Foundation, either version 3 of # |
| 7 |
# the License, or (at your option) any later version. # |
| 8 |
# # |
| 9 |
# FreeFEM is distributed in the hope that it will be useful, # |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of # |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
| 12 |
# GNU Lesser General Public License for more details. # |
| 13 |
# # |
| 14 |
# You should have received a copy of the GNU Lesser General Public License # |
| 15 |
# along with FreeFEM. If not, see <http://www.gnu.org/licenses/>. # |
| 16 |
############################################################################ |
| 17 |
# SUMMARY : Common make rules for all downloaded packages (request from FH) |
| 18 |
# LICENSE : LGPLv3 |
| 19 |
# ORG : LJLL Universite Pierre et Marie Curie, Paris, FRANCE |
| 20 |
# AUTHORS : ... |
| 21 |
# E-MAIL : ... |
| 22 |
|
| 23 |
# Common goals for all packages: |
| 24 |
# download compile install reinstall clean veryclean |
| 25 |
|
| 26 |
# <<download>> |
| 27 |
|
| 28 |
# PKGCOMMON_PACKTITLE corresponds to package names in [[file:getall]] |
| 29 |
download:: |
| 30 |
../getall -o $(PKGCOMMON_PACKTITLE) -a |
| 31 |
$(PKGCOMMON_PACKAGES):download |
| 32 |
|
| 33 |
## regle qui force le telecharmeent a l'install je vide F. H |
| 34 |
compilepkg:: |
| 35 |
|
| 36 |
# <<install>> |
| 37 |
|
| 38 |
install::compilepkg |
| 39 |
|
| 40 |
# <<reinstall>> |
| 41 |
|
| 42 |
reinstall::compilepkg |
| 43 |
|
| 44 |
clean-local:: |
| 45 |
|
| 46 |
veryclean::clean |
| 47 |
-rm $(PKGCOMMON_PACKAGES) |
| 48 |
|
| 49 |
# Local Variables: |
| 50 |
# mode:makefile |
| 51 |
# ispell-local-dictionary:"british" |
| 52 |
# coding:utf-8 |
| 53 |
# End: |