diff options
Diffstat (limited to 'mpcommon.mak')
-rw-r--r-- | mpcommon.mak | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/mpcommon.mak b/mpcommon.mak index 342a3351d9..c84732161d 100644 --- a/mpcommon.mak +++ b/mpcommon.mak @@ -10,28 +10,6 @@ OBJS_MENCODER += $(addsuffix .o, $(basename $(SRCS_MENCODER)) ) CFLAGS += $(CFLAGS-yes) $(OPTFLAGS) -LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER) -LIBS-$(MENCODER) += $(LIBNAME_MENCODER) -LIBS = $(LIBNAME_COMMON) $(LIBS-yes) - -libs: $(LIBS) - -$(LIBNAME_COMMON): $(OBJS_COMMON) -$(LIBNAME_MPLAYER): $(OBJS_MPLAYER) -$(LIBNAME_MENCODER): $(OBJS_MENCODER) -$(LIBNAME_COMMON) $(LIBNAME_MPLAYER) $(LIBNAME_MENCODER): - $(AR) r $@ $^ - $(RANLIB) $@ - -clean:: - rm -f *.o *.a *.ho *~ - -distclean:: clean - rm -f *.d .depend test test2 - -.depend: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER) - $(MPDEPEND_CMD) > $@ - %.d: %.c $(MPDEPEND_CMD) > $@ @@ -50,10 +28,4 @@ distclean:: clean ALLHEADERS = $(wildcard *.h) checkheaders: $(ALLHEADERS:.h=.ho) -# Hack to keep .depend from being generated at the top level unnecessarily. -ifndef DEPS -DEPS = .depend -endif --include $(DEPS) - -.PHONY: libs *clean dep depend +.PHONY: checkheaders *clean dep depend |