diff options
Diffstat (limited to 'libmpeg2')
-rw-r--r-- | libmpeg2/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
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 # |