From a445867045c54803ec22e3f5962aa342b96b5848 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 16 Jul 2008 14:47:43 +0000 Subject: [PATCH] make sems-stats only if needed git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1052 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/stats/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/plug-in/stats/Makefile b/core/plug-in/stats/Makefile index b8596226..f4deff9d 100644 --- a/core/plug-in/stats/Makefile +++ b/core/plug-in/stats/Makefile @@ -6,13 +6,13 @@ QUERY_STATS_NAME = sems-stats module_ldflags = module_cflags = -extra_target = query_stats +extra_target = $(QUERY_STATS_NAME) extra_install = install_query_stats extra_clean = clean_query_stats include ../Makefile.app_module -query_stats: query_stats.c Makefile +$(QUERY_STATS_NAME): query_stats.c Makefile $(CXX) $(CXXFLAGS) -o $(QUERY_STATS_NAME) query_stats.c install_query_stats: query_stats $(DESTDIR)$(bin-prefix)/$(bin-dir)