X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2FMakefile.cfg;h=330f55b697136f8d7b1cbb6b8b16aa1c2fa1a660;hb=96d72268a3a1cfddcbd71353881e8bfadc17db5e;hp=c3cb7b148d5a7170ef74ed18f8216b72ada2d849;hpb=4c78a1bdd506cda6cda27ee342165c7dfa7ecdc2;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/Makefile.cfg b/Usermode/Libraries/Makefile.cfg index c3cb7b14..330f55b6 100644 --- a/Usermode/Libraries/Makefile.cfg +++ b/Usermode/Libraries/Makefile.cfg @@ -1,7 +1,8 @@ # Acess 2 Libraries # General Makefile --include $(dir $(lastword $(MAKEFILE_LIST)))../Makefile.cfg +_libsdir := $(dir $(lastword $(MAKEFILE_LIST))) +-include $(_libsdir)../Makefile.cfg MAKEDEP = $(CC) -M @@ -19,9 +20,8 @@ CPPFLAGS := -ffreestanding CFLAGS := -fno-stack-protector -fPIC LDFLAGS := -I/Acess/Libs/ld-acess.so -lld-acess `$(CC) -print-libgcc-file-name` endif -CPPFLAGS += -I$(ACESSDIR)/Usermode/include/ -DARCHDIR=$(ARCHDIR) -DARCHDIR_is_$(ARCHDIR)=1 -CPPFLAGS += $(addprefix -I,$(wildcard $(ACESSUSERDIR)Libraries/*/include_exp/)) -CFLAGS += -Wall -g LDFLAGS += -g -nostdlib -shared -eSoMain -x --no-undefined -L$(OUTPUTDIR)Libs/ +-include $(_libsdir)../common_settings.mk + # vim: ft=make