[Mplayer-cvslog] CVS: main/libavcodec Makefile,1.3,1.4

Jürgen Keil jkeil at mplayer.dev.hu
Thu Jul 12 17:11:37 CEST 2001


Update of /cvsroot/mplayer/main/libavcodec
In directory mplayer:/var/tmp.root/cvs-serv20078

Modified Files:
	Makefile 
Log Message:
depend and distclean targets missing in Makefile


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libavcodec/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Makefile	10 Jul 2001 08:30:27 -0000	1.3
+++ Makefile	12 Jul 2001 15:11:34 -0000	1.4
@@ -21,6 +21,8 @@
 OBJS += i386/sad_mmx2.o
 endif
 
+SRCS = $(OBJS:.o=.c)
+
 LIB= libavcodec.a
 TESTS= imgresample-test dct-test
 
@@ -38,9 +40,17 @@
 %.o: %.s
 	nasm -f elf -o $@ $<
 
+dep:	depend
+
+depend:
+	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
 clean: 
 	rm -f *.o *~ *.a i386/*.o i386/*~ \
            apiexample $(TESTS)
+
+distclean: clean
+	rm -f Makefile.bak .depend
 
 # api example program
 apiexample: apiexample.c $(LIB)




More information about the MPlayer-cvslog mailing list