diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/c_src.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/c_src.mk b/plugins/c_src.mk index 5616923..2a0d006 100644 --- a/plugins/c_src.mk +++ b/plugins/c_src.mk @@ -59,7 +59,10 @@ clean:: $(MAKE) -C $(C_SRC_DIR) clean else + +ifeq ($(SOURCES),) SOURCES := $(shell find $(C_SRC_DIR) -type f \( -name "*.c" -o -name "*.C" -o -name "*.cc" -o -name "*.cpp" \)) +endif OBJECTS = $(addsuffix .o, $(basename $(SOURCES))) COMPILE_C = $(c_verbose) $(CC) $(CFLAGS) $(CPPFLAGS) -c |