summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 56f9483..633a174 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ BUILD = build
# Which C program to build. Override: make PROG=test_uart
PROG ?= blink
+override PROG := $(basename $(PROG))
$(BUILD):
mkdir -p $@