* .version: bumped version number to 2.4.8
[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    =       startup \
19                 libdev  \
20                 libsdcc \
21                 libc \
22                 libm \
23                 debug
24                 
25 #               libio 
26
27
28 all: build-all-libraries
29
30 build-all-libraries:
31         @for temp in $(DIRS) ; do \
32                 $(MAKE) -C $$temp MODELFLAGS=$(MODELFLAGS) ; \
33         done
34
35
36 lib-io:
37         $(MAKE) -C libio MODELFLAGS=$(MODELFLAGS)
38
39 clean: all-clean
40         $(RM) -f bin/*.*
41
42
43
44 all-clean:
45         @for temp in $(DIRS) ; do \
46                 $(MAKE) -C $$temp clean ; \
47         done
48
49 clean-intermediate:
50         @for temp in $(DIRS) ; do \
51                 $(MAKE) -C $$temp clean-intermediate ; \
52         done
53
54
55 dep: all-dep
56
57 all-dep:
58         for temp in $(DIRS) ; do \
59                 $(MAKE) -C $$temp dep ; \
60         done