Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / device / non-free / lib / pic14 / Makefile.in
blob0d9b231294c650f7f5917b33753a86301b1afb5e
1 ###########################################################
2 ### Makefile for the SDCC/PIC14 Library
3 ###
4 ### Copyright (C) 2005 by Raphael Neider <rneider AT web.de>
5 ###
6 ### The library is currently maintained by
7 ### Raphael Neider <rneider AT 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 ###
15 top_builddir = @top_builddir@
16 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 srcdir = @srcdir@
21 include $(top_builddir)/Makefile.common
23 .PHONY: all clean clean-intermediate install
26 ifeq (:,$(findstring :,$(LD) $(AS) $(LIB)))
27 all:
28 @echo "gputils not found -- PIC14 library not built!"
29 else
30 all : install
31 install : recurse
32 endif
35 SUBDIRS = libdev
36 builddir = build
37 installdir = bin
38 export installdir
40 C_SRC = $(sort $(notdir $(wildcard $(srcdir)/*.c)))
41 S_SRC = $(sort $(notdir $(wildcard $(srcdir)/*.S)))
42 OBJS = $(C_SRC:.c=.o) $(S_SRC:.S=.o)
44 clean: recurse
45 $(Q)-$(RMDIR) "$(top_builddir)/$(builddir)"
46 -if [ -d bin ]; then $(RMDIR) bin; fi
48 distclean-local:
49 $(Q)-$(RM) a.cod a.hex a.lst pics.supported
50 $(Q)-$(RM) -rf ./.checkdevices
52 distclean: clean distclean-local
53 $(Q)-$(RM) config.cache config.log config.status Makefile Makefile.common
54 -if [ -d bin ]; then $(RMDIR) bin; fi
56 clean-intermediate: recurse
58 include $(top_srcdir)/Makefile.rules