* src/pic16/glue.c (pic16_print(G)PointerType): do not flush
[fw/sdcc] / device / lib / pic16 / Makefile
1 ###########################################################
2 ### Makefile for the GNU PIC Library
3 ###
4 ### Copyright (C) 2005 by Raphael Neider <rneider@web.de>
5 ###
6 ### The GNU PIC Library was originally designed and
7 ### implemented by
8 ###     Vangelis Rokas <vrokas@otenet.gr>
9 ###
10 ### It is currently maintained by
11 ###     Raphael Neider <rneider@web.de>
12 ###
13 ### This file may be distributed under the terms of the the
14 ### GNU General Public License (GPL). See COPYING for details.
15 ###
16 ### $Id$
17 ###
18
19 topsrcdir = .
20
21 include $(topsrcdir)/Makefile.common
22
23 ifeq (:,$(findstring :,$(LD) $(AS) $(LIB)))
24
25 all % : 
26         @echo "gputils not found -- PIC16 library not built!"
27
28 else
29
30 SUBDIRS    = debug libc libdev libio libm libsdcc startup
31 builddir   = build
32 installdir = bin
33 export installdir
34
35 C_SRC = $(wildcard *.c)
36 S_SRC = $(wildcard *.S)
37 OBJS = $(C_SRC:.c=.o) $(S_SRC:.S=.o)
38
39 .PHONY : all clean clean-intermediate recurse
40
41 all : install
42
43 install : builddir recurse
44
45 clean : recurse
46         $(Q)-$(RMDIR) "$(topsrcdir)/$(builddir)";
47
48 clean-intermediate : recurse
49
50 include $(topsrcdir)/Makefile.rules
51
52 endif