* src/pic16/device.c (Pics16[]): added devices 18F2550, 18F4331,
[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                 memfree \
24                 memfreemax \
25                 memmisc \
26                 realloc \
27                 x_ftoa \
28                 putchar
29
30 S_SRCS  = g_ftoa
31
32 #CFILES = $(patsubst %,%.c,$(SRCS))
33 #OFILES = $(patsubst %.c,%.o,$(CFILES))
34
35 #OPT_FLAGS      += --stack-auto
36
37 DEBUG=
38 #COMPILE_FLAGS   += --pomit-config-words --pomit-ivt --denable-peeps --optimize-goto --obanksel=2
39 COMPILE_FLAGS   += $(DEBUG)
40
41 #CFILES = $(patsubst %,%.c,$(SRCS))
42 #OFILES = $(patsubst %.c,%.o,$(CFILES))
43
44 #.c.o
45 #       $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
46
47 build-library: $(OFILES)
48