Subversion Repositories shark

Rev

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
ifndef BASE
3
BASE=../..
4
endif
45 pj 5
 
2 pj 6
include $(BASE)/config/config.mk
7
 
8
include $(BASE)/config/libdep.mk
9
 
10
 
11
ifdef INIT
12
INIT_FILE:=$(LIB_PATH)/$(INIT)
13
else
14
INIT_FILE:=
15
endif
16
 
17
MYOBJS:=$(APP).o $(INIT_FILE) $(OTHEROBJS)
18
 
19
$(APP):$(MYOBJS) $(LIB_DEP)
20
	$(LD) $(LINK_OPT) $(LINK_STARTUP) $(MYOBJS) \
21
	--start-group $(LINK_LIB) --end-group \
22
	-o $(APP)
23
 
24
 
25
 
26
 
27
 
28
 
29