* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
[fw/sdcc] / device / lib / pic16 / startup / Makefile
index 1c2f2eb8be9c1a10f615ccfbc81a9fdcfd5726dd..882981fa837e9a8e783942bc8988ae152c511acd 100644 (file)
@@ -1,48 +1,6 @@
-#
-# Makefile - Makefile to build startup files
-#
-# 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 = 
+TARGETS = $(OBJS)
 
-PRJDIR = ../../../..
-include ../Makefile.common
-
-
-SRCS   =       crt0    \
-               crt0i   \
-               crt0iz
-
-
-# add nostdinc and nostdlib for this device libraries
-COMPILE_FLAGS  += $(MODELFLAGS) --nostdinc --nostdlib
-
-CFILES = $(patsubst %,%.c,$(SRCS))
-OFILES = $(patsubst %.c,%.o,$(CFILES))
-
-
-%.o: %.c
-       $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
-
-
-all: build-library
-       @$(CP) -v $(OFILES) ../bin
-
-build-library: compile-sources
-
-compile-sources: $(OFILES)
-
-
-clean:
-       rm -f *.o *.lst *.asm
-
-
-clean-intermediate:
-       $(RM) -f *.lst *.asm *.dump*
+include $(topsrcdir)/Makefile.subdir