* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / device / lib / pic16 / libsdcc / long / Makefile
index 57c4b7e493e57751576b0a8da0bc291faa428d6d..87adf7fc6be7e77be8abf57e03a0807d2a1bc795 100644 (file)
@@ -1,39 +1,5 @@
-#
-# Makefile - Makefile to build pic16 long 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    = sdcclong.lib
-
-SRCS   =       divslong \
-               divulong \
-               modslong \
-               modulong \
-               mullong
-
-include ../Makefile.rules
-
-
-all: build-library
-
-build-library: $(LIB)
-
-$(LIB): $(OFILES)
-       @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