* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / device / lib / pic16 / libsdcc / char / Makefile
index d00b3d72431109c6333bdcadcfe779a45fdc49e1..87adf7fc6be7e77be8abf57e03a0807d2a1bc795 100644 (file)
@@ -1,38 +1,5 @@
-#
-# Makefile - Makefile to build pic16 char 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    = sdccchar.lib
-
-SRCS   =       divschar \
-               divuchar \
-               modschar \
-               moduchar
-
-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