From dc2be42703cd95be495d420aeeaec79448222fa4 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 26 Nov 2006 18:12:36 +0000 Subject: Merge common parts of all Makefiles into one file included by all. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2 --- osdep/Makefile | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'osdep') diff --git a/osdep/Makefile b/osdep/Makefile index f3e2c9a9a3..ee8040fdb4 100644 --- a/osdep/Makefile +++ b/osdep/Makefile @@ -36,33 +36,7 @@ endif SRCS += $(timer) SRCS += $(getch) -OBJS=$(SRCS:.c=.o) - -CFLAGS = -I. -I.. $(OPTFLAGS) - -.SUFFIXES: .c .o - -.c.o: - $(CC) -c $(CFLAGS) -o $@ $< - -all: $(LIBNAME) +include ../mpcommon.mak mplayer-rc.o: mplayer.rc windres -o $@ $< - -$(LIBNAME): $(OBJS) - $(AR) r $@ $^ - $(RANLIB) $@ - -clean: - rm -f *.o *.a *~ - -distclean: clean - rm -f .depend - -dep depend: - $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend - -ifneq ($(wildcard .depend),) -include .depend -endif -- cgit v1.2.3