* .version: bumped version number to 2.4.8
[fw/sdcc] / device / lib / pic16 / libc / stdlib / 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    =       atof \
17                 atoi \
18                 atol \
19                 calloc \
20                 free \
21                 ltoa \
22                 malloc \
23                 realloc \
24                 x_ftoa \
25                 putchar
26
27
28 CFILES  = $(patsubst %,%.c,$(SRCS))
29 OFILES  = $(patsubst %.c,%.o,$(CFILES))
30
31
32 DEBUG=
33 #COMPILE_FLAGS   += --pomit-config-words --pomit-ivt --denable-peeps --optimize-goto --obanksel=2
34 COMPILE_FLAGS   += $(DEBUG)
35
36 CFILES  = $(patsubst %,%.c,$(SRCS))
37 OFILES  = $(patsubst %.c,%.o,$(CFILES))
38
39 %.o: %.c
40         $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
41
42 build-library: $(OFILES)
43