* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / device / lib / pic16 / libc / stdlib / Makefile
index b166c4695fb52e2e1af18665674eff1185d6ab9b..c196350c8fdf5ad5d88fbb0a82eec6f1b1854056 100644 (file)
@@ -1,43 +1,6 @@
-#
-# Makefile - Makefile to build pic16 C 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=../..
 
-include ../Makefile.rules
-
-SRCS   =       atof \
-               atoi \
-               atol \
-               calloc \
-               free \
-               ltoa \
-               malloc \
-               realloc \
-               x_ftoa \
-               putchar
-
-
-CFILES = $(patsubst %,%.c,$(SRCS))
-OFILES = $(patsubst %.c,%.o,$(CFILES))
-
-
-DEBUG=
-#COMPILE_FLAGS   += --pomit-config-words --pomit-ivt --denable-peeps --optimize-goto --obanksel=2
-COMPILE_FLAGS  += $(DEBUG)
-
-CFILES = $(patsubst %,%.c,$(SRCS))
-OFILES = $(patsubst %.c,%.o,$(CFILES))
-
-%.o: %.c
-       $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
-
-build-library: $(OFILES)
+SUBDIRS =
+TARGETS =
 
+include $(topsrcdir)/Makefile.subdir