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