Rev 3 | 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 | 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 \ |
||
24 | strtoul.c |
||
25 | |||
26 | |||
27 | OBJS= $(patsubst %.c,%.o,$(SRCS)) |
||
28 | |||
29 | C_DEF += -D_THREAD_SAFE -Di386 |
||
30 | |||
31 | include $(BASE)/config/sublib.mk |