From 9e793d127645d38ef81236090efd17241856b8e5 Mon Sep 17 00:00:00 2001 From: Michael Panzlaff Date: Mon, 25 Nov 2024 12:44:50 +0000 Subject: [PATCH] Add compile echo lines to ext Makefiles --- ext/GOTCHA/Makefile | 3 +++ ext/hwloc/Makefile | 3 +++ ext/lua/Makefile | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/ext/GOTCHA/Makefile b/ext/GOTCHA/Makefile index 6a4619755..fae095dd5 100644 --- a/ext/GOTCHA/Makefile +++ b/ext/GOTCHA/Makefile @@ -73,13 +73,16 @@ all: $(LIBGOTCHA) $(STATIC_LIBGOTCHA): $(OBJ) $(info "GOTCHA cannot be build statically in LIKWID") + #@echo "===> CREATE STATIC LIB $@" #$(Q)${AR} -cq $(LIBGOTCHA) $(OBJ) $(SHARED_LIBGOTCHA): $(OBJ) + @echo "===> CREATE SHARED LIB $@" $(Q)$(CC) $(DEBUG_FLAGS) $(LFLAGS) -Wl,-soname,$(LIBGOTCHA).$(VERSION).$(RELEASE),--no-undefined -shared -fPIC -o $(LIBGOTCHA) $(OBJ) $(LIBS) #PATTERN RULES $(BUILD_DIR)/%.o: %.c + @echo "===> COMPILE $@" @mkdir -p $(BUILD_DIR) $(Q)$(CC) -c $(DEBUG_FLAGS) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(Q)$(CC) $(DEBUG_FLAGS) $(CPPFLAGS) -MT $(@:.d=.o) -MM $< > $(BUILD_DIR)/$*.d diff --git a/ext/hwloc/Makefile b/ext/hwloc/Makefile index 62eed4154..bf0ad3bd5 100644 --- a/ext/hwloc/Makefile +++ b/ext/hwloc/Makefile @@ -64,13 +64,16 @@ CPPFLAGS := $(CPPFLAGS) $(DEFINES) $(INCLUDES) all: $(LIBHWLOC) $(STATIC_LIBHWLOC): $(OBJ) + @echo "===> CREATE STATIC LIB $@" $(Q)${AR} -cq $(LIBHWLOC) $(OBJ) $(SHARED_LIBHWLOC): $(OBJ) + @echo "===> CREATE SHARED LIB $@" $(Q)$(CC) $(DEBUG_FLAGS) $(LFLAGS) -Wl,-soname,$(LIBHWLOC).$(VERSION).$(RELEASE),--no-undefined -Wall -shared -fPIC -o $(LIBHWLOC) $^ $(LIBS) $(RPATHS) #PATTERN RULES $(BUILD_DIR)/%.o: %.c + @echo "===> COMPILE $@" @mkdir -p $(BUILD_DIR) $(Q)$(CC) -c $(DEBUG_FLAGS) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(Q)$(CC) $(DEBUG_FLAGS) $(CPPFLAGS) -MT $(@:.d=.o) -MM $< > $(BUILD_DIR)/$*.d diff --git a/ext/lua/Makefile b/ext/lua/Makefile index 42bab18ea..a2ad60a88 100644 --- a/ext/lua/Makefile +++ b/ext/lua/Makefile @@ -43,16 +43,20 @@ INTERPRETER = lua all: $(LIBLUA) $(INTERPRETER) $(STATIC_LIBLUA): $(OBJ) + @echo "===> CREATE STATIC LIB $@" $(Q)$(AR) -cq $@ $(OBJ) $(SHARED_LIBLUA): $(OBJ) + @echo "===> CREATE SHARED LIB $@" $(Q)$(CC) $(DEBUG_FLAGS) $(LFLAGS) -Wl,-soname,$(LIBLUA).$(VERSION).$(RELEASE),--no-undefined -shared -fPIC -o $@ $(OBJ) $(LIBS) $(INTERPRETER): $(LIBLUA) $(BUILD_DIR)/lua.o + @echo "===> LINKING $@" $(Q)$(CC) $(DEBUG_FLAGS) -o $@ $(LFLAGS) $(BUILD_DIR)/lua.o $(RPATHS) $(LIBLUA) $(LIBS) #PATTERN RULES $(BUILD_DIR)/%.o: %.c + @echo "===> COMPILE $@" @mkdir -p $(BUILD_DIR) $(Q)$(CC) -c $(DEBUG_FLAGS) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(Q)$(CC) $(DEBUG_FLAGS) $(CPPFLAGS) -MT $(@:.d=.o) -MM $< > $(BUILD_DIR)/$*.d