From a32f8342937e3c30ad212e9a4ea40d66a859dd1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Thu, 11 Jul 2013 11:25:14 +0200 Subject: [PATCH] Additional cleaning functions. --- Makefile.am | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 6f94d85..cd2e1ee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,6 +37,7 @@ src/graph/loggraph.moc: clean-loggraph-extra: rm -f src/graph/*.moc.cpp rm -f bin/modules/loggraph + rm -f bin/loggraph bin_lognet_SOURCES = src/net/lognet.cpp src/net/lognet.moc.cpp bin_lognet_CPPFLAGS = $(bin_lognet_CFLAGS) @@ -47,6 +48,7 @@ src/net/lognet.moc.cpp: clean-lognet-extra: rm -f src/net/*.moc.cpp rm -f bin/modules/lognet + rm -f bin/lognet bin_logker_SOURCES = src/kernel/kernel.cpp src/kernel/kernel.moc bin_logker_CPPFLAGS = $(bin_logker_CFLAGS) @@ -56,6 +58,7 @@ src/kernel/kernel.moc: clean-logker-extra: rm -f src/kernel/*.moc + rm -f bin/logker bin_logint_SOURCES = \ src/int/cint.c \ @@ -82,6 +85,10 @@ bin_logint_SOURCES = \ bin_logint_CPPFLAGS = $(bin_logint_CFLAGS) -DUNIX -DWORD_32BIT -DUSE_CLOCK -Dpascal= -DOBJECTADDR -DSYSV -I$(top_srcdir)/src/global -I/usr/include/qt3 bin_logint_LDADD = $(bin_logint_LIBS) -lm -lqt-mt +# TODO: not working... +#clean-logint-extra: +# rm -f bin/logint + bin_logedit_SOURCES = src/edit/editor.cpp src/edit/editor.moc.cpp bin_logedit_CPPFLAGS = $(bin_logedit_CFLAGS) bin_logedit_LDADD = $(bin_logedit_LIBS) @@ -93,6 +100,7 @@ src/edit/editor.moc.cpp: src/edit/editor.h clean-logedit-extra: rm -f src/edit/*.moc.cpp rm -f bin/modules/logedit + rm -f bin/logedit bin_lgconfig_SOURCES = src/lgconfig/lgconfig.cpp src/lgconfig/lgconfig.moc bin_lgconfig_CPPFLAGS = $(bin_lgconfig_CFLAGS) @@ -102,6 +110,7 @@ src/lgconfig/lgconfig.moc: clean-lgconfig-extra: rm -f src/lgconfig/*.moc + rm -f bin/lgconfig bin_logcomp_SOURCES = src/preproc/prep.cpp src/preproc/prep.moc.cpp bin_logcomp_CPPFLAGS = $(bin_logcomp_CFLAGS) @@ -111,6 +120,7 @@ src/preproc/prep.moc.cpp: src/preproc/prep.cpp clean-logcomp-extra: rm -f src/preproc/*.moc + rm -f bin/logcomp bin_loghelp_SOURCES = src/help/help.cpp src/help/help.moc bin_loghelp_CPPFLAGS = $(bin_loghelp_CFLAGS) @@ -121,6 +131,7 @@ src/help/help.moc: clean-loghelp-extra: rm -f src/help/*.moc rm -f bin/modules/loghelp + rm -f bin/loghelp all-local: test -d bin/modules || mkdir bin/modules @@ -142,6 +153,6 @@ clean-am: \ clean-lgconfig-extra \ clean-logcomp-extra \ clean-loghelp-extra - rm -r bin/modules + rm -rf bin/modules dist_noinst_SCRIPTS = autogen.sh -- 2.30.2