X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2FMakefile.cfg;h=c3b2466726e05d1c9d0eb8ceb60349047ac75bf7;hb=1f2e2ea9289e3fa3768172de9fad129880ed198f;hp=78e39fb91293fc19e31c8663af54a0a7234a46ee;hpb=35580b646a841d59323953f4dfaf47e678dd9d64;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/Makefile.cfg b/Usermode/Libraries/Makefile.cfg index 78e39fb9..c3b24667 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 += -D ARCHDIR=$(ARCHDIR) -D __ASSEMBLER__=1 +CPPFLAGS := -I$(ACESSDIR)/Usermode/include/ -DARCHDIR=$(ARCHDIR) -DARCHDIR_is_$(ARCHDIR)=1 +CFLAGS := -g -Wall -fPIC -fno-builtin -fno-stack-protector $(CPPFLAGS) +LDFLAGS := -g -nostdlib -shared -I/Acess/Libs/ld-acess.so -lld-acess -e SoMain -x -L$(OUTPUTDIR)Libs/ --no-undefined