1 # Copyright © 1995-2019, The AROS Development Team. All rights reserved.
4 # Desc: General rules included at the end of a generated mmakefile
7 GLOB_MKDIRS := $(sort $(GLOB_MKDIRS))
8 ifneq ($(GLOB_MKDIRS),)
13 include $(SRCDIR)/tools/genmodule/Makefile.deps
15 # Rules for the AROS build tools
16 $(GENMODULE) : $(GENMODULE_DEPS)
17 @$(CALL) $(MAKE) $(MKARGS) -C $(SRCDIR)/tools/genmodule TOP=$(TOP) SRCDIR=$(SRCDIR) $(GENMODULE)
19 # Disk-based module header
20 $(GENDIR)/compiler/libinit/libentry.o : $(SRCDIR)/compiler/libinit/libentry.c
21 @$(ECHO) "Compiling $<"
22 @$(TARGET_CC) $(TARGET_SYSROOT) -c $(TARGET_CFLAGS) $(CFLAGS) $< -o $@
24 # Special kickstart module header
25 $(GENDIR)/$(KICKSTART_BEGIN).o : $(SRCDIR)/$(KICKSTART_BEGIN).c
26 @$(ECHO) "Compiling $<"
27 @$(TARGET_CC) $(TARGET_SYSROOT) -c $(TARGET_CFLAGS) $(CFLAGS) $< -o $@