1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 19:52:14 +00:00

New dependency system

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-03-02 21:47:18 +00:00
parent 12a2563387
commit 477c46e141

View File

@ -15,7 +15,7 @@ CFLAGS = $(OPTFLAGS)
.s.o:
$(CC) -c $(CFLAGS) -o $@ $<
libMP3.a: $(OBJS)
libMP3.a: .depend $(OBJS)
$(AR) r libMP3.a $(OBJS)
all: libMP3.a
@ -24,11 +24,17 @@ clean:
rm -f *~ *.o *.a
distclean:
makedepend
rm -f *~ *.o *.a Makefile.bak
rm -f *~ *.o *.a Makefile.bak .depend
dep: depend
dep: depend
depend: .depend
depend:
makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
# DO NOT DELETE
.depend: Makefile config.mak ../config.mak ../config.h
makedepend -f- -- $(CFLAGS) -- $(SRCS) 1>.depend 2>/dev/null
#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif