* device/include/asm/pic16/features.h,
[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                 rand \
30                 crc16
31
32 S_SRCS  = g_ftoa
33
34 #CFILES = $(patsubst %,%.c,$(SRCS))
35 #OFILES = $(patsubst %.c,%.o,$(CFILES))
36
37 #OPT_FLAGS      += --stack-auto
38
39 DEBUG=
40 #COMPILE_FLAGS   += --pomit-config-words --pomit-ivt --denable-peeps --optimize-goto --obanksel=2
41 COMPILE_FLAGS   += $(DEBUG)
42
43 #CFILES = $(patsubst %,%.c,$(SRCS))
44 #OFILES = $(patsubst %.c,%.o,$(CFILES))
45
46 #.c.o
47 #       $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<
48
49 build-library: $(OFILES)
50