[MPlayer-cvslog] CVS: main/TOOLS/subfont-c Makefile,1.7,1.8

Diego Biurrun CVS syncmail at mplayerhq.hu
Fri Nov 18 15:55:40 CET 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/TOOLS/subfont-c
In directory mail:/var2/tmp/cvs-serv28342

Modified Files:
	Makefile 
Log Message:
Makefile reorganized for better clarity and maintainability.


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/subfont-c/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Makefile	25 May 2003 00:21:18 -0000	1.7
+++ Makefile	18 Nov 2005 14:55:37 -0000	1.8
@@ -1,6 +1,9 @@
-include ../../config.mak
 
-LDLIBS=-lm ../../osdep/timer-lx.o $(shell freetype-config --libs)
+MPROOT=../..
+
+include $(MPROOT)/config.mak
+
+LDLIBS=-lm $(MPROOT)/osdep/timer-lx.o $(shell freetype-config --libs)
 CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)
 
 #CFLAGS+=-O0			# for RedHat's gcc-2.96-95
@@ -12,10 +15,11 @@
 
 subfont:	subfont.o
 
-subfont.o:	subfont.c Makefile ../../bswap.h
+subfont.o:	subfont.c
+	$(CC) $(CFLAGS) -c $< -o $@
 
-subfont.S:	subfont.c Makefile ../../bswap.h
+subfont.S:	subfont.c
 	$(CC) $(CFLAGS) -S $< -o $@
 
 clean:
-	rm -f subfont subfont.o core
+	rm -f subfont subfont.o subfont.S core




More information about the MPlayer-cvslog mailing list