* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / device / lib / pic16 / libsdcc / float / Makefile
index be6b04a5fc7b44abbf00128ea3e43281f7f88cce..87adf7fc6be7e77be8abf57e03a0807d2a1bc795 100644 (file)
@@ -1,56 +1,5 @@
-#
-# Makefile - Makefile to build pic16 float support library
-#
-# This file is part of the GNU PIC Library.
-#
-# January, 2004
-# The GNU PIC Library is maintained by,
-#      Vangelis Rokas <vrokas@otenet.gr>
-#
-# $Id$
-#
-#
+topsrcdir=../..
 
+SUBDIRS = 
 
-LIB    = sdccfloat.lib
-
-SRCS   =       fs2schar \
-               fs2sint \
-               fs2slong \
-               fs2uchar \
-               fs2uint \
-               fs2ulong \
-               fsadd \
-               fsdiv \
-               fseq \
-               fsgt \
-               fslt \
-               fsmul \
-               fsneq \
-               fssub \
-               schar2fs \
-               sint2fs \
-               slong2fs \
-               uchar2fs \
-               uint2fs \
-               ulong2fs
-
-LOCAL_FLAGS    =
-COMPILE_FLAGS  += $(LOCAL_FLAGS)
-
-include ../Makefile.rules
-
-all: build-library
-
-build-library: $(LIB)
-
-$(LIB): $(OFILES) clean-intermediate-no-asm
-       @echo Creating $(LIB) ...
-       @for object in $(OFILES) ; do \
-               if [ ! -e $(LIB) ]; then \
-                       $(AR) -c $(LIB) $$object ; \
-               else \
-                       $(AR) -r $(LIB) $$object ; \
-               fi; \
-               echo adding $$object ; \
-       done ;
+include $(topsrcdir)/Makefile.subdir