X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2FMakefile.cfg;h=9192194c14619aee4c09ff9264c6ae3eb6dc56f8;hb=100c53216ed83a0ed68e27a5ba457544e0d56a9f;hp=abd8c812c14b73c3be95c9500bdf57d9eeb4073e;hpb=b3fa9a08edcbc459bd8e9df73186e292470ebfc3;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/Makefile.cfg b/Usermode/Libraries/Makefile.cfg index abd8c812..9192194c 100644 --- a/Usermode/Libraries/Makefile.cfg +++ b/Usermode/Libraries/Makefile.cfg @@ -1,11 +1,11 @@ # Acess 2 Libraries # General Makefile --include ../../../Makefile.cfg +-include $(dir $(lastword $(MAKEFILE_LIST)))../Makefile.cfg MAKEDEP = $(CC) -M -ASFLAGS = -felf -CPPFLAGS = -I$(ACESSDIR)/Usermode/include/ -CFLAGS = -Wall -fPIC -fno-builtin -fno-stack-protector $(CPPFLAGS) -LDFLAGS = -nostdlib -shared -I/Acess/Libs/ld-acess.so -e SoMain -x -L.. -lacess +ASFLAGS += -D ARCHDIR=$(ARCHDIR) +CPPFLAGS := -I$(ACESSDIR)/Usermode/include/ -D ARCHDIR=$(ARCHDIR) -D ARCHDIR_IS_$(ARCHDIR)=1 +CFLAGS := -g -Wall -fPIC -fno-builtin -fno-stack-protector $(CPPFLAGS) +LDFLAGS := -g -nostdlib -shared -I/Acess/Libs/ld-acess.so -e SoMain -x -L$(OUTPUTDIR)Libs/