X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2FMakefile.cfg;h=bc33f90552b9c56f94e1ba4b3a6b8a1904981b84;hb=45f9a29e481ce9ea7ca7121541f0e0f90147f5b1;hp=f8cd1515a0532a89beab49b9d047ea50e00d13b5;hpb=9d3800f60f2212432e550a4e003ae65b498a4d36;p=tpg%2Facess2.git diff --git a/Usermode/Applications/Makefile.cfg b/Usermode/Applications/Makefile.cfg index f8cd1515..bc33f905 100644 --- a/Usermode/Applications/Makefile.cfg +++ b/Usermode/Applications/Makefile.cfg @@ -2,8 +2,14 @@ # General Makefile -include ../../../Makefile.cfg +# satisfying 2 deep applications +ifeq ($(ACESSDIR),) + -include ../../../../Makefile.cfg +endif +ACESSUSERDIR := $(ACESSDIR)/Usermode ASFLAGS = -felf -CPPFLAGS = -I../../include/ +CPPFLAGS = -I$(ACESSUSERDIR)/include/ CFLAGS = -fno-stack-protector $(CPPFLAGS) -LDFLAGS = -T ../../Libraries/acess.ld -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