[MPlayer-cvslog] r26346 - trunk/libswscale/Makefile

mru subversion at mplayerhq.hu
Mon Apr 7 23:16:50 CEST 2008


Author: mru
Date: Mon Apr  7 23:16:50 2008
New Revision: 26346

Log:
non-recursive makefiles


Modified:
   trunk/libswscale/Makefile

Modified: trunk/libswscale/Makefile
==============================================================================
--- trunk/libswscale/Makefile	(original)
+++ trunk/libswscale/Makefile	Mon Apr  7 23:16:50 2008
@@ -1,4 +1,4 @@
-include ../config.mak
+include $(SUBDIR)../config.mak
 
 NAME = swscale
 FFLIBS = avutil
@@ -15,12 +15,11 @@ ASM_OBJS-$(ARCH_BFIN)      += internal_b
 
 HEADERS = swscale.h rgb2rgb.h
 
-include ../common.mak
+CLEANFILES = cs_test swscale-example
 
-cs_test: cs_test.o $(LIBNAME)
+include $(SUBDIR)../subdir.mak
 
-swscale-example: swscale-example.o $(LIBNAME)
-swscale-example: EXTRALIBS += -lm
+$(SUBDIR)cs_test: $(SUBDIR)cs_test.o $(SUBDIR)$(LIBNAME)
 
-clean::
-	rm -f cs_test swscale-example
+$(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
+$(SUBDIR)swscale-example: EXTRALIBS += -lm



More information about the MPlayer-cvslog mailing list