1 ###########################################################
2 ### Makefile for the SDCC/PIC14 Library
4 ### Copyright (C) 2005 by Raphael Neider <rneider@web.de>
6 ### The library is currently maintained by
7 ### Raphael Neider <rneider@web.de>
9 ### This file may be distributed under the terms of the the
10 ### GNU General Public License (GPL). See GPL for details.
17 include $(topsrcdir)/Makefile.common
19 ifeq (:,$(findstring :,$(LD) $(AS) $(LIB)))
24 @echo "gputils not found -- PIC14 library not built!"
28 SUBDIRS = libsdcc libdev
33 C_SRC = $(wildcard *.c)
34 S_SRC = $(wildcard *.S)
35 OBJS = $(C_SRC:.c=.o) $(S_SRC:.S=.o)
37 .PHONY : all clean clean-intermediate install
44 $(Q)-$(RMDIR) "$(topsrcdir)/$(builddir)";
46 clean-intermediate : recurse
48 include $(topsrcdir)/Makefile.rules