Rev 3 | Rev 64 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
ifndef BASE
BASE=../..
endif
ifndef OSLIB
OSLIB=$(BASE)/oslib
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)