1 ###########################################################
2 ### Makefile for the GNU PIC Library
4 ### Copyright (C) 2005 by Raphael Neider <rneider@web.de>
6 ### The GNU PIC Library was originally designed and
8 ### Vangelis Rokas <vrokas@otenet.gr>
10 ### It is currently maintained by
11 ### Raphael Neider <rneider@web.de>
13 ### This file may be distributed under the terms of the the
14 ### GNU General Public License (GPL). See COPYING for details.
21 include $(topsrcdir)/Makefile.common
23 ifeq (:,$(findstring :,$(LD) $(AS) $(LIB)))
28 @echo "gputils not found -- PIC16 library not built!"
32 SUBDIRS = debug libc libdev libio libm libsdcc startup
37 C_SRC = $(wildcard *.c)
38 S_SRC = $(wildcard *.S)
39 OBJS = $(C_SRC:.c=.o) $(S_SRC:.S=.o)
41 .PHONY : all clean clean-intermediate install
48 $(Q)-$(RMDIR) "$(topsrcdir)/$(builddir)";
50 clean-intermediate : recurse
52 include $(topsrcdir)/Makefile.rules