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