From c2b7070033f690b12dd1adc81209fcdeb8bb21d3 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Mon, 4 Jun 2001 19:33:28 +0000 Subject: dependency stuff fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1011 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpeg2/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libmpeg2') diff --git a/libmpeg2/Makefile b/libmpeg2/Makefile index d6a7f1cfa7..8a6ecbd1a3 100644 --- a/libmpeg2/Makefile +++ b/libmpeg2/Makefile @@ -15,7 +15,7 @@ CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY .c.o: $(CC) -c $(CFLAGS) -o $@ $< -$(LIBNAME): .depend $(OBJS) +$(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) all: $(LIBNAME) @@ -27,9 +27,8 @@ distclean: rm -f Makefile.bak *.o *.a *~ .depend dep: depend -depend: .depend -.depend: Makefile ../config.mak ../config.h +depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend # -- cgit v1.2.3