X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2FMakefile.cfg;h=430d98dce750a1d6588d63a35aee2ea7a3f0fecb;hb=5ce8b1a0af07fdba89c8d72c8d6c086e91076a3c;hp=78e39fb91293fc19e31c8663af54a0a7234a46ee;hpb=b98fbd4e9c71447d81fc9bd643fb174c76346e0f;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/Makefile.cfg b/Usermode/Libraries/Makefile.cfg index 78e39fb9..430d98dc 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 = -g -Wall -fPIC -fno-builtin -fno-stack-protector $(CPPFLAGS) -LDFLAGS = -g -nostdlib -shared -I/Acess/Libs/ld-acess.so -e SoMain -x -L.. -lacess +ASFLAGS := -felf -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/