diff --git a/module/base/makefile b/module/base/makefile index d260c3e..0ed47fc 100644 --- a/module/base/makefile +++ b/module/base/makefile @@ -32,13 +32,13 @@ include $(MUJU)/external/gmsl/gmsl ifneq ($(PROJECT), ) -include $(PROJECT)/makefile PROJECT_NAME ?= $(lastword $(subst /, , $(PROJECT))) + PROJECT_DIR = $(abspath $(PROJECT)) else PROJECT = . PROJECT_NAME ?= $(lastword $(subst /, , $(CURDIR))) + PROJECT_DIR = $(PROJECT) endif -PROJECT_DIR = $(abspath $(PROJECT)) - ################################################################################################## # Function to generate the full path of directory define full_path