Rev 3 | Rev 508 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | |
2 | ifndef BASE |
||
3 | BASE=../.. |
||
4 | endif |
||
45 | pj | 5 | ifndef OSLIB |
6 | OSLIB=$(BASE)/oslib |
||
7 | endif |
||
8 | |||
2 | pj | 9 | include $(BASE)/config/config.mk |
10 | |||
11 | include $(BASE)/config/libdep.mk |
||
12 | |||
13 | |||
14 | ifdef INIT |
||
15 | INIT_FILE:=$(LIB_PATH)/$(INIT) |
||
16 | else |
||
17 | INIT_FILE:= |
||
18 | endif |
||
19 | |||
20 | MYOBJS:=$(APP).o $(INIT_FILE) $(OTHEROBJS) |
||
21 | |||
22 | $(APP):$(MYOBJS) $(LIB_DEP) |
||
23 | $(LD) $(LINK_OPT) $(LINK_STARTUP) $(MYOBJS) \ |
||
24 | --start-group $(LINK_LIB) --end-group \ |
||
25 | -o $(APP) |
||
26 | |||
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 |