From f166bd337518d3f5341abd6c77ef40adea069f7b Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 18 Sep 2009 12:37:53 -0300 Subject: [PATCH] Comment default rules --- Lib.mak | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Lib.mak b/Lib.mak index de14737..a2ec0df 100644 --- a/Lib.mak +++ b/Lib.mak @@ -217,26 +217,33 @@ sinclude $(shell test -d $O && find $O -name '*.d') # Default rules ################ +# Compile C objects $O/%.o: $T/%.c $G/compile-c-flags $(call compile,c) +# Compile C++ objects $O/%.o: $T/%.cpp $G/compile-cpp-flags $(call compile,cpp) +# Link binary programs $B/%: $G/link-o-flags $(call link) +# Link shared libraries $L/%.so: override CFLAGS += -fPIC $L/%.so: override CXXFLAGS += -fPIC $L/%.so: $G/link-o-flags $(call link,-shared) +# Install binary programs $I/bin/%: $(call install_file,0755) +# Install system binary programs $I/sbin/%: $(call install_file,0755) +# Install libraries $I/lib/%: $(call install_file) -- 2.43.0