diff --git a/make/standalone-exe.mk b/make/standalone-exe.mk index 895f7c98..3da6cc5d 100644 --- a/make/standalone-exe.mk +++ b/make/standalone-exe.mk @@ -7,6 +7,14 @@ ifeq ($(EXE),) EXE = $(notdir $(shell pwd)) endif +ifeq ($(PROJECT),) +PROJECT = $(notdir $(shell pwd)) +endif + +ifeq ($(PREFIX),) +PREFIX = $(HOME)/opt/$(PROJECT) +endif + include $(MODDIR)/make/run.mk include $(MODDIR)/make/depend.mk