* .version: bumped version number to 2.4.5
[fw/sdcc] / device / lib / pic16 / Makefile
1 #
2 # Makefile - toplevel makefile that builds everything
3 #
4 # This file is part of the GNU PIC Library.
5 #
6 # January, 2004
7 # The GNU PIC Library is maintained by,
8 #       Vangelis Rokas <vrokas@otenet.gr>
9 #
10 # $Id$
11 #
12 #
13
14
15 include ./Makefile.common
16
17
18 DIRS    =       libdev  \
19                 libsdcc \
20                 startup
21
22
23 all: build-all-libraries
24
25 build-all-libraries:
26         @for temp in $(DIRS) ; do \
27                 $(MAKE) -C $$temp MODELFLAGS=$(MODELFLAGS) ; \
28         done
29
30
31 clean: all-clean
32         $(RM) -f bin/*.*
33
34
35
36 all-clean:
37         @for temp in $(DIRS) ; do \
38                 $(MAKE) -C $$temp clean ; \
39         done
40
41 clean-intermediate:
42         @for temp in $(DIRS) ; do \
43                 $(MAKE) -C $$temp clean-intermediate ; \
44         done
45
46
47 dep: all-dep
48
49 all-dep:
50         for temp in $(DIRS) ; do \
51                 $(MAKE) -C $$temp dep ; \
52         done