diff --git a/study/Makefile b/study/Makefile index cab1854..e28811f 100644 --- a/study/Makefile +++ b/study/Makefile @@ -1,17 +1,9 @@ ROOT=$(shell pwd) -PLATFORM=$(shell $(ROOT)/systype.sh) -include $(ROOT)/Make.defines.$(PLATFORM) + +DIRS=param process memory -DIRS=injector engine tools - - -BIN=$(ROOT)/../workspace -ENGINE=$(ROOT)/engine -INJECTOR=$(ROOT)/injector -TOOLS=$(ROOT)/tools - all: for i in $(DIRS); do \ (cd $$i && echo "making $$i" && $(MAKE) ) || exit 1; \ diff --git a/study/memory/Makefile b/study/memory/Makefile new file mode 100644 index 0000000..f27c840 --- /dev/null +++ b/study/memory/Makefile @@ -0,0 +1,22 @@ +ROOT=../ + +DIRS=mem mmap v2p + + + +all: + for i in $(DIRS); do \ + (cd $$i && echo "making $$i" && $(MAKE) ) || exit 1; \ + done + +clean: + for i in $(DIRS); do \ + (cd $$i && echo "cleaning $$i" && $(MAKE) clean) || exit 1; \ + done + +install : +# for i in $(DIRS); do \ +# (cd $$i && echo "install $$i" && $(MAKE) install) || exit 1; \ +# done + cp $(INJECTOR)/memInjector $(BIN)/memInjector + cp $(ENGINE)/memoryEngine.ko $(BIN)/memoryEngine.ko