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 OBJS := $(addprefix $(LIBDIR)/,$(addsuffix .o,$(FILES)))
17 DEPS := $(addprefix $(GENDIR)/$(CURDIR)/,$(addsuffix .d,$(FILES)))
19 linklibs-startup: $(OBJS)
21 $(LIBDIR)/%.o : $(GENDIR)/$(CURDIR)/%.o
24 USER_CFLAGS := -I $(SRCDIR)/rom/exec
25 %rule_compile basename=% targetdir=$(GENDIR)/$(CURDIR)
27 #MM linklibs-startup-setup
28 %rule_makedirs dirs="$(GENDIR)/$(CURDIR) $(LIBDIR)" setuptarget=linklibs-startup-setup
30 %copy_includes includes=startup.h path=aros
32 .PHONY: linklibs-startup linklibs-startup-setup
34 %include_deps depstargets="linklibs-startup" deps=$(DEPS)