3 # Generate the amiga.lib library (normally called libamiga.a).
5 include $(TOP)/config/make.cfg
7 #MM- linklibs-core : linklibs-startup
8 #MM- linklibs: linklibs-startup
9 #MM linklibs-startup : linklibs-startup-setup includes includes-copy
16 USER_CFLAGS += $(PARANOIA_CFLAGS)
18 OBJS := $(addprefix $(LIBDIR)/,$(addsuffix .o,$(FILES)))
19 DEPS := $(addprefix $(GENDIR)/$(CURDIR)/,$(addsuffix .d,$(FILES)))
21 linklibs-startup: $(OBJS)
23 $(LIBDIR)/%.o : $(GENDIR)/$(CURDIR)/%.o
26 %rule_compile basename=% targetdir=$(GENDIR)/$(CURDIR)
28 #MM linklibs-startup-setup
29 %rule_makedirs dirs="$(GENDIR)/$(CURDIR) $(LIBDIR)" setuptarget=linklibs-startup-setup
31 %copy_includes includes=startup.h path=aros
33 .PHONY: linklibs-startup linklibs-startup-setup
35 %include_deps depstargets="linklibs-startup" deps=$(DEPS)