]> rtime.felk.cvut.cz Git - CanFestival-3.git/blob - Makefile.in
Adding program for network management
[CanFestival-3.git] / Makefile.in
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
24 all: objdictgen canfestival examples
25
26 examples: canfestival driver
27         $(MAKE) -C examples all
28
29 objdictgen:
30         $(MAKE) -C objdictgen all
31
32 canfestival: driver
33         $(MAKE) -C src $@
34
35 driver:
36         $(MAKE) -C drivers $@
37
38 install: canfestival driver
39         $(MAKE) -C drivers $@
40         $(MAKE) -C src $@
41         $(MAKE) -C examples $@
42         $(MAKE) -C objdictgen $@
43         ldconfig
44
45 uninstall:
46         $(MAKE) -C drivers $@
47         $(MAKE) -C src $@
48         $(MAKE) -C examples $@
49         $(MAKE) -C objdictgen $@
50
51 clean:
52         $(MAKE) -C src $@
53         $(MAKE) -C drivers $@
54         $(MAKE) -C examples $@
55         $(MAKE) -C objdictgen $@
56         
57 mrproper: clean
58         $(MAKE) -C src $@
59         $(MAKE) -C drivers $@
60         $(MAKE) -C examples $@
61         $(MAKE) -C objdictgen $@
62