Rev 47 | Go to most recent revision | Details | Compare with Previous | 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 |
||
45 | pj | 8 | |
2 | pj | 9 | include $(BASE)/config/config.mk |
10 | |||
11 | LIBRARY = c |
||
12 | |||
13 | OBJS_PATH = $(BASE)/libc/stdlib |
||
14 | |||
15 | SRCS= abort.c \ |
||
16 | atexit.c \ |
||
17 | calloc.c \ |
||
18 | free.c \ |
||
19 | malloc.c \ |
||
20 | realloc.c \ |
||
21 | strtod.c \ |
||
22 | strtol.c \ |
||
47 | pj | 23 | strtoul.c \ |
24 | qsort.c \ |
||
25 | bsearch.c |
||
2 | pj | 26 | |
27 | |||
28 | OBJS= $(patsubst %.c,%.o,$(SRCS)) |
||
29 | |||
30 | C_DEF += -D_THREAD_SAFE -Di386 |
||
31 | |||
32 | include $(BASE)/config/sublib.mk |