Skip to content

Commit e4d691b

Browse files
committed
fix: don't run the Makefile locally
1 parent 6bc02ac commit e4d691b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ifneq ($(MAKEFILE_LIST),$(lastword $(MAKEFILE_LIST)))
2+
$(error This Makefile is meant to be included, not executed directly)
3+
endif
4+
15
# This Makefile is intended to be called by higher level/project Makefiles
26
# It bakes in a number of standard practices include the use of the src
37
# directory (choose your build dir as appropriate).

0 commit comments

Comments
 (0)