Makefile.in
changeset 0 4472ee7c6c3e
child 158 b505f7116a1c
equal deleted inserted replaced
-1:000000000000 0:4472ee7c6c3e
       
     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 objdictgen $@
       
    42 
       
    43 uninstall:
       
    44 	$(MAKE) -C drivers $@
       
    45 	$(MAKE) -C src $@
       
    46 	$(MAKE) -C objdictgen $@
       
    47 
       
    48 clean:
       
    49 	$(MAKE) -C src $@
       
    50 	$(MAKE) -C drivers $@
       
    51 	$(MAKE) -C examples $@
       
    52 	$(MAKE) -C objdictgen $@
       
    53 	
       
    54 mrproper: clean
       
    55 	$(MAKE) -C src $@
       
    56 	$(MAKE) -C drivers $@
       
    57 	$(MAKE) -C examples $@
       
    58 	$(MAKE) -C objdictgen $@
       
    59