diff options
-rw-r--r-- | common.mak | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common.mak b/common.mak index 40a655cdd4..cc7c7823f4 100644 --- a/common.mak +++ b/common.mak @@ -34,11 +34,9 @@ $(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS) %.o: %.cpp g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $< -depend: $(SRCS) +depend dep: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend -dep: depend - clean:: rm -f *.o *.d *~ *.a *.lib *.so *.so.* *.dylib *.dll \ *.lib *.def *.dll.a *.exp @@ -69,6 +67,7 @@ install-lib-shared: $(SLIBNAME) install-lib-static: $(LIB) install -d "$(libdir)" install -m 644 $(LIB) "$(libdir)" + $(LIB_INSTALL_EXTRA_CMD) install-headers: install -d "$(incdir)" @@ -88,6 +87,8 @@ uninstall-headers: rm -f "$(addprefix $(incdir)/,$(HEADERS))" rm -f "$(libdir)/pkgconfig/lib$(NAME).pc" +.PHONY: all depend dep clean distclean install* uninstall* + # # include dependency files if they exist # |