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