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)))
26 @echo "gputils not found -- PIC16 library not built!"
30 SUBDIRS = debug libc libdev libio libm libsdcc startup
35 C_SRC = $(wildcard *.c)
36 S_SRC = $(wildcard *.S)
37 OBJS = $(C_SRC:.c=.o) $(S_SRC:.S=.o)
39 .PHONY : all clean clean-intermediate recurse
43 install : builddir recurse
46 $(Q)-$(RMDIR) "$(topsrcdir)/$(builddir)";
48 clean-intermediate : recurse
50 include $(topsrcdir)/Makefile.rules