* .version: bumped version number to 2.4.8
[fw/sdcc] / device / lib / pic16 / libc / stdio / Makefile
1 #
2 # Makefile - Makefile to build pic16 C Library
3 #
4 # This file is part of the GNU PIC Library.
5 #
6 # January, 2004
7 # The GNU PIC Library is maintained by,
8 #       Vangelis Rokas <vrokas@otenet.gr>
9 #
10 # $Id$
11 #
12 #
13
14 include ../Makefile.rules
15
16 SRCS    =       printf_tiny \
17                 printf_small
18
19
20 CFILES  = $(patsubst %,%.c,$(SRCS))
21 OFILES  = $(patsubst %.c,%.o,$(CFILES))
22
23
24 DEBUG=
25 #COMPILE_FLAGS   += --pomit-config-words --pomit-ivt --no-peep
26 COMPILE_FLAGS   += $(DEBUG)
27
28 CFILES  = $(patsubst %,%.c,$(SRCS))
29 OFILES  = $(patsubst %.c,%.o,$(CFILES))
30
31 %.o: %.c
32         $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
33
34 build-library: $(OFILES)
35