1
mirror of https://github.com/mpv-player/mpv synced 2024-10-26 07:22:17 +02:00

Makefile reorganized for better clarity and maintainability.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17014 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-11-18 14:55:37 +00:00
parent 36e1974be0
commit 8b0bb9d146

View File

@ -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 @@ CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)
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