X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2FMakefile.cfg;h=bc33f90552b9c56f94e1ba4b3a6b8a1904981b84;hb=45f9a29e481ce9ea7ca7121541f0e0f90147f5b1;hp=146177dd256f9312c2ff8e6da3ae5a81ef8738e7;hpb=466eda7c917791866a29c253c6c22197faf41bf7;p=tpg%2Facess2.git diff --git a/Usermode/Applications/Makefile.cfg b/Usermode/Applications/Makefile.cfg index 146177dd..bc33f905 100644 --- a/Usermode/Applications/Makefile.cfg +++ b/Usermode/Applications/Makefile.cfg @@ -3,12 +3,13 @@ -include ../../../Makefile.cfg # satisfying 2 deep applications -if $(ACESSDIR) == "" then +ifeq ($(ACESSDIR),) -include ../../../../Makefile.cfg -#endif -ACESSDIR := $(ACESSDIR)/Usermode +endif +ACESSUSERDIR := $(ACESSDIR)/Usermode ASFLAGS = -felf -CPPFLAGS = -I$(ACESSDIR)/include/ +CPPFLAGS = -I$(ACESSUSERDIR)/include/ CFLAGS = -fno-stack-protector $(CPPFLAGS) -LDFLAGS = -T $(ACESSDIR)/Libraries/acess.ld -L $(ACESSDIR)/Libraries -I /Acess/Libs/ld-acess.so -lc +LDFLAGS = -T $(ACESSUSERDIR)/Libraries/acess.ld -L $(ACESSUSERDIR)/Libraries -I /Acess/Libs/ld-acess.so -lc +DIR = Bin