Rev 2 | Rev 45 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
ifndef BASE
BASE=../..
endif
include $(BASE)/config/config.mk
include $(BASE)/config/libdep.mk
ifdef INIT
INIT_FILE:=$(LIB_PATH)/$(INIT)
else
INIT_FILE:=
endif
MYOBJS:=$(APP).o $(INIT_FILE) $(OTHEROBJS)
$(APP):$(MYOBJS) $(LIB_DEP)
$(LD) $(LINK_OPT) $(LINK_STARTUP) $(MYOBJS) \
--start-group $(LINK_LIB) --end-group \
-o $(APP)