* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / device / lib / pic16 / libio / i2c / Makefile
index 7ad6f9406261ae359d553522aa1aa034c1c42a3b..26ecac5c13bf777d4573bb767a1dab6ca0ffa1f9 100644 (file)
@@ -1,46 +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   =       i2cack \
-               i2cclose \
-               i2cdrdy \
-               i2cidle \
-               i2cnack \
-               i2copen \
-               i2creadc \
-               i2creads \
-               i2crestart \
-               i2cstart \
-               i2cstop \
-               i2cwritec \
-               i2cwrites
-
-
-CFILES = $(patsubst %,%.c,$(SRCS))
-OFILES = $(patsubst %.c,%.o,$(CFILES))
-
-
-DEBUG=
-#COMPILE_FLAGS   += --pomit-config-words --pomit-ivt --no-peep
-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