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 SUBDIRS = debug libc libdev libio libm libsdcc startup
28 C_SRC = $(wildcard *.c)
29 S_SRC = $(wildcard *.S)
30 OBJS = $(C_SRC:.c=.o) $(S_SRC:.S=.o)
32 .PHONY : all clean clean-intermediate recurse
36 install : builddir recurse
39 $(Q)-$(RMDIR) "$(topsrcdir)/$(builddir)";
41 clean-intermediate : recurse
43 include $(topsrcdir)/Makefile.rules