Skip to content

Commit 070e5bb

Browse files
committed
make: allow specifying OPENCM3_DIR on command line
Allow specifying the path to the library on the command line, without editing the makefile
1 parent 3a275fb commit 070e5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Q := @
3333
MAKEFLAGS += --no-print-directory
3434
endif
3535

36-
OPENCM3_DIR := $(realpath libopencm3)
36+
OPENCM3_DIR ?= $(realpath libopencm3)
3737
EXAMPLE_RULES = elf
3838

3939
all: build

0 commit comments

Comments
 (0)