1 include $(BASE)header.mk
4 ASFLAGS-$(DIR) := -D ARCHDIR=$(ARCHDIR) -D __ASSEMBLER__=1
5 CPPFLAGS-$(DIR) := -I$(ACESSDIR)/Usermode/include/ -DARCHDIR=$(ARCHDIR) -DARCHDIR_is_$(ARCHDIR)=1
6 CFLAGS-$(DIR) := -g -Wall -fPIC -fno-stack-protector -O3
7 LDFLAGS-$(DIR) := -g -nostdlib -shared -I/Acess/Libs/ld-acess.so -lld-acess -e SoMain -x -L$(OUTPUTDIR)Libs/ --no-undefined
9 SUB_DIRS = $(wildcard $(DIR)*/rules.mk)
11 .PHONY: all-$(DIR) clean-$(DIR)
12 all-$(DIR): open-$(DIR) $(addprefix all-,$(dir $(SUB_DIRS))) close-$(DIR)
13 clean-$(DIR): $(addprefix clean-,$(dir $(SUB_DIRS)))
17 include $(BASE)footer.mk