Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

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