[pytango] 247/483: Makefile is now cleaner

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 9b9bf2571384691f56ade538bd9f28c4937ecdd4
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Fri Mar 15 15:11:01 2013 +0000

    Makefile is now cleaner
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22277 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 3e09f9d..92b215f 100644
--- a/Makefile
+++ b/Makefile
@@ -227,27 +227,27 @@ $(PRE_C_H_O): $(SRC_DIR)/$(PRE_C_H)
 # Rule for shared library
 #
 
-.SUFFIXES: .o .cpp
-.cpp.o: $(PRE_C_H_O)
-	@echo Compiling $(<) ...
-	@$(CC) $(CCFLAGS) -c $< -o $*.o
+#.SUFFIXES: .o .cpp
+#.cpp.o: $(PRE_C_H_O)
+#	@echo Compiling 1 $(<) ...
+#	@$(CC) $(CCFLAGS) -c $< -o $*.o
 
 #
 # Rule for API files
 #
 $(OBJS_DIR)/%.o: $(SRC_DIR)/%.cpp
-	@echo Compiling $(<) ...
+	@echo Compiling $(<F) ...
 	@$(CC) $(CCFLAGS) -c $< -o $(OBJS_DIR)/$*.o $(PRE_C)
 
 $(OBJS_DIR)/%.o: $(SRC_DIR)/server/%.cpp
-	@echo Compiling $(<) ...
+	@echo Compiling $(<F) ...
 	@$(CC) $(CCFLAGS) -c $< -o $(OBJS_DIR)/$*.o $(PRE_C)
 
 #
 #	The shared libs
 #
 
-$(LIB_NAME): $(OBJS)
+$(LIB_NAME): $(PRE_C_H_0) $(OBJS)
 	@echo Linking shared $(LIB_NAME) ...
 	@$(LN) $(OBJS) $(LN_DIRS) $(LN_LIBS) -o $(OBJS_DIR)/$(LIB_NAME) $(LN_VER)
 #	@$(LN_STATIC) $(OBJS) $(LN_DIRS) $(LN_LIBS) -o $(OBJS_DIR)/$(LIB_NAME_STATIC) $(LN_VER)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list