3 # Generate the startup code.
6 include $(SRCDIR)/config/aros.cfg
8 #MM- core-linklibs : linklibs-startup
9 #MM- linklibs: linklibs-startup
10 #MM linklibs-startup : linklibs-startup-setup includes includes-copy \
11 #MM compiler-stdc-includes compiler-posixc-includes
19 OBJS := $(addprefix $(AROS_LIB)/,$(addsuffix .o,$(FILES)))
20 DEPS := $(addprefix $(GENDIR)/$(CURDIR)/,$(addsuffix .d,$(FILES)))
22 linklibs-startup: $(OBJS)
25 linklibs-startup-quick: $(OBJS)
27 $(AROS_LIB)/%.o : $(GENDIR)/$(CURDIR)/%.o
30 %rule_compile basename=% targetdir=$(GENDIR)/$(CURDIR)
32 #MM linklibs-startup-setup
33 %rule_makedirs dirs="$(GENDIR)/$(CURDIR) $(AROS_LIB)" setuptarget=linklibs-startup-setup
35 %copy_includes includes=startup.h path=aros
37 .PHONY: linklibs-startup linklibs-startup-setup
39 %include_deps depstargets="linklibs-startup" deps=$(DEPS)