aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index ea4d9c2..23806fb 100644
--- a/makefile
+++ b/makefile
@@ -10,7 +10,7 @@ CM_OPT_STANDALONE ?= 1
CC ?= gcc
-CM_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
+CM_DIR ?= $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
CM_SOURCE := $(CM_DIR)/cheesemap.c
CM_OBJECT := $(CM_SOURCE:.c=.o)