author | peter |
Fri, 14 Mar 2008 10:55:34 +0100 | |
changeset 417 | ae068232859c |
parent 253 | bf58ce630b88 |
permissions | -rw-r--r-- |
0 | 1 |
#! gmake |
2 |
||
3 |
# |
|
4 |
# Copyright (C) 2006 Laurent Bessard |
|
5 |
# |
|
6 |
# This file is part of canfestival, a library implementing the canopen |
|
7 |
# stack |
|
8 |
# |
|
9 |
# This library is free software; you can redistribute it and/or |
|
10 |
# modify it under the terms of the GNU Lesser General Public |
|
11 |
# License as published by the Free Software Foundation; either |
|
12 |
# version 2.1 of the License, or (at your option) any later version. |
|
13 |
# |
|
14 |
# This library is distributed in the hope that it will be useful, |
|
15 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
17 |
# Lesser General Public License for more details. |
|
18 |
# |
|
19 |
# You should have received a copy of the GNU Lesser General Public |
|
20 |
# License along with this library; if not, write to the Free Software |
|
21 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
# |
|
23 |
||
253
bf58ce630b88
Adding support for always installing last gnosis version
lbessard
parents:
210
diff
changeset
|
24 |
all: objdictedit canfestival examples |
0 | 25 |
|
26 |
examples: canfestival driver |
|
27 |
$(MAKE) -C examples all |
|
28 |
||
210 | 29 |
documentation: |
30 |
$(MAKE) -C doc/doxygen |
|
207 | 31 |
|
208 | 32 |
manual: |
210 | 33 |
$(MAKE) -C doc/manual |
208 | 34 |
|
253
bf58ce630b88
Adding support for always installing last gnosis version
lbessard
parents:
210
diff
changeset
|
35 |
objdictedit: |
0 | 36 |
$(MAKE) -C objdictgen all |
37 |
||
38 |
canfestival: driver |
|
39 |
$(MAKE) -C src $@ |
|
40 |
||
41 |
driver: |
|
42 |
$(MAKE) -C drivers $@ |
|
43 |
||
44 |
install: canfestival driver |
|
45 |
$(MAKE) -C drivers $@ |
|
46 |
$(MAKE) -C src $@ |
|
158
b505f7116a1c
Moved DS-301 PDF into objdictgen. Fixed installation on linux. Now TestMasterSlave is also installed in $PREFIX/bin.
etisserant
parents:
0
diff
changeset
|
47 |
$(MAKE) -C examples $@ |
0 | 48 |
$(MAKE) -C objdictgen $@ |
158
b505f7116a1c
Moved DS-301 PDF into objdictgen. Fixed installation on linux. Now TestMasterSlave is also installed in $PREFIX/bin.
etisserant
parents:
0
diff
changeset
|
49 |
ldconfig |
0 | 50 |
|
51 |
uninstall: |
|
52 |
$(MAKE) -C drivers $@ |
|
53 |
$(MAKE) -C src $@ |
|
158
b505f7116a1c
Moved DS-301 PDF into objdictgen. Fixed installation on linux. Now TestMasterSlave is also installed in $PREFIX/bin.
etisserant
parents:
0
diff
changeset
|
54 |
$(MAKE) -C examples $@ |
0 | 55 |
$(MAKE) -C objdictgen $@ |
56 |
||
57 |
clean: |
|
58 |
$(MAKE) -C src $@ |
|
59 |
$(MAKE) -C drivers $@ |
|
60 |
$(MAKE) -C examples $@ |
|
61 |
$(MAKE) -C objdictgen $@ |
|
62 |
||
63 |
mrproper: clean |
|
64 |
$(MAKE) -C src $@ |
|
65 |
$(MAKE) -C drivers $@ |
|
66 |
$(MAKE) -C examples $@ |
|
67 |
$(MAKE) -C objdictgen $@ |
|
68 |