diff --git a/Makefile.common b/Makefile.common index 49f7db7636..5422e9c86f 100644 --- a/Makefile.common +++ b/Makefile.common @@ -23,6 +23,7 @@ MOTIF_OBJS += $(addprefix obj/motif/,${MOTIF_SRCS:.c=.o}) QT_OBJS := $(addprefix obj/qt/,${COMMON_SRCS:.c=.o}) QT_OBJS += $(addprefix obj/qt/,${QT_SRCS:.cpp=.o}) +CFLAGS += -pg ifdef GNOME_CONFIG_BIN GNOME_CFLAGS += $(shell ${GNOME_CONFIG_BIN} --cflags gnomeui) @@ -30,6 +31,7 @@ endif QT_FLAGS := + %.c : %.h # Basically take the output foo.d file and put it in the right @@ -93,7 +95,10 @@ distclean: clean-files rm -f $(foreach f,$(wildcard *.in),$(filter-out configure,$(f:.in=))) -rm -rf ${DIST_TRASH} -.PHONY: clean clean-files distclean +dist: + $(foreach dir,${CLEAN_SUBDIRS},(cd ${dir} && $(MAKE) dist);) + +.PHONY: clean clean-files dist distclean # Get dependencies (if existent). diff --git a/Makefile.in b/Makefile.in index f51f996668..c57ce50034 100644 --- a/Makefile.in +++ b/Makefile.in @@ -194,7 +194,7 @@ install: # done .PHONY: default install-private install motif motif-static gnome gnome-static qt -.PHONY: depend clean distclean +.PHONY: depend dist clean distclean # Local Variables: # tab-width: 2