Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | # |
2 | # The stdlib sub-library |
||
3 | # |
||
4 | |||
5 | ifndef BASE |
||
6 | BASE=../.. |
||
7 | endif |
||
8 | include $(BASE)/config/config.mk |
||
9 | |||
10 | LIBRARY = c |
||
11 | |||
12 | OBJS_PATH = $(BASE)/libc/stdlib |
||
13 | |||
14 | SRCS= abort.c \ |
||
15 | atexit.c \ |
||
16 | calloc.c \ |
||
17 | free.c \ |
||
18 | malloc.c \ |
||
19 | realloc.c \ |
||
20 | strtod.c \ |
||
21 | strtol.c \ |
||
22 | strtoul.c |
||
23 | |||
24 | |||
25 | OBJS= $(patsubst %.c,%.o,$(SRCS)) |
||
26 | |||
27 | C_DEF += -D_THREAD_SAFE -Di386 |
||
28 | |||
29 | include $(BASE)/config/sublib.mk |