author | frdupin |
Mon, 05 Feb 2007 10:22:31 +0100 | |
changeset 87 | 074126d73842 |
parent 24 | a9543d2ccd56 |
child 156 | 515d11cb496e |
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 |
||
24 |
TARGET = SUB_TARGET |
|
25 |
||
26 |
all: |
|
27 |
ifeq ($(TARGET),hc12) |
|
28 |
$(MAKE) -C AppliMaster_HCS12 $@ |
|
29 |
$(MAKE) -C AppliSlave_HCS12 $@ |
|
30 |
$(MAKE) -C gene_SYNC_HCS12 $@ |
|
31 |
endif |
|
24
a9543d2ccd56
Linux and BSD now use "unix" target. Generic is for driverless compilation.
etisserant
parents:
0
diff
changeset
|
32 |
ifeq ($(TARGET),unix) |
0 | 33 |
$(MAKE) -C TestMasterSlave $@ |
34 |
endif |
|
35 |
||
36 |
clean: |
|
37 |
ifeq ($(TARGET),hc12) |
|
38 |
$(MAKE) -C AppliMaster_HCS12 $@ |
|
39 |
$(MAKE) -C AppliSlave_HCS12 $@ |
|
40 |
$(MAKE) -C gene_SYNC_HCS12 $@ |
|
41 |
endif |
|
24
a9543d2ccd56
Linux and BSD now use "unix" target. Generic is for driverless compilation.
etisserant
parents:
0
diff
changeset
|
42 |
ifeq ($(TARGET),unix) |
0 | 43 |
$(MAKE) -C TestMasterSlave $@ |
44 |
endif |
|
45 |
||
46 |
mrproper: clean |
|
47 |
ifeq ($(TARGET),hc12) |
|
48 |
$(MAKE) -C AppliMaster_HCS12 $@ |
|
49 |
$(MAKE) -C AppliSlave_HCS12 $@ |
|
50 |
$(MAKE) -C gene_SYNC_HCS12 $@ |
|
51 |
endif |
|
24
a9543d2ccd56
Linux and BSD now use "unix" target. Generic is for driverless compilation.
etisserant
parents:
0
diff
changeset
|
52 |
ifeq ($(TARGET),unix) |
0 | 53 |
$(MAKE) -C TestMasterSlave $@ |
54 |
endif |
|
55 |
||
56 |