Update erlang.mk

This commit is contained in:
Jean-Sébastien Pédron 2015-10-19 17:12:22 +02:00
parent 35a4fc9ef0
commit 35da776c3f
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
ERLANG_MK_VERSION = 1.2.0-818-gc0946dc-dirty
ERLANG_MK_VERSION = 1.2.0-820-ge6e3bf8-dirty
# Core configuration.
@ -5567,7 +5567,7 @@ clean::
else
ifeq ($(SOURCES),)
SOURCES := $(sort $(call core_find,$(C_SRC_DIR)/,*.c *.C *.cc *.cpp))
SOURCES := $(sort $(foreach pat,*.c *.C *.cc *.cpp,$(call core_find,$(C_SRC_DIR)/,$(pat))))
endif
OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))