changeset 22784:afb7111123bb

Move test program removal on distclean to mpcommon.mak.
author diego
date Sat, 24 Mar 2007 15:03:57 +0000
parents 96f0c2cd4538
children 43c482cba0fb
files liba52/Makefile libdha/Makefile mp3lib/Makefile mpcommon.mak
diffstat 4 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/liba52/Makefile	Sat Mar 24 14:40:16 2007 +0000
+++ b/liba52/Makefile	Sat Mar 24 15:03:57 2007 +0000
@@ -14,6 +14,3 @@
 
 test: test.c ../osdep/libosdep.a $(LIBNAME_COMMON)
 	$(CC) $(CFLAGS) -o $@ $^ -lm
-
-distclean::
-	rm -f test
--- a/libdha/Makefile	Sat Mar 24 14:40:16 2007 +0000
+++ b/libdha/Makefile	Sat Mar 24 15:03:57 2007 +0000
@@ -36,9 +36,6 @@
 clean::
 	rm -f *.so *.so.* pci_*.c pci_*.h pci.db
 
-distclean::
-	rm -f test
-
 dep depend:: pci_names.c
 
 install:
--- a/mp3lib/Makefile	Sat Mar 24 14:40:16 2007 +0000
+++ b/mp3lib/Makefile	Sat Mar 24 15:03:57 2007 +0000
@@ -18,6 +18,3 @@
 
 %: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
 	$(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm
-
-distclean::
-	rm -f test test2
--- a/mpcommon.mak	Sat Mar 24 14:40:16 2007 +0000
+++ b/mpcommon.mak	Sat Mar 24 15:03:57 2007 +0000
@@ -28,7 +28,7 @@
 	rm -f *.o *.a *~
 
 distclean:: clean
-	rm -f .depend
+	rm -f .depend test test2
 
 dep depend::
 	$(CC) -MM $(CFLAGS) $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend