diff options
Diffstat (limited to 'libao2/Makefile')
-rw-r--r-- | libao2/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libao2/Makefile b/libao2/Makefile index 9d64132ce3..ddf755f04e 100644 --- a/libao2/Makefile +++ b/libao2/Makefile @@ -17,7 +17,7 @@ CFLAGS = $(OPTFLAGS) -I. -I.. .c.o: $(CC) -c $(CFLAGS) -o $@ $< -$(LIBNAME): .depend $(OBJS) +$(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) all: $(LIBNAME) @@ -29,9 +29,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 # |