mirror of
https://github.com/mpv-player/mpv
synced 2025-02-26 18:32:08 +00: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:
parent
36e1974be0
commit
8b0bb9d146
@ -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=$(OPTFLAGS) $(shell freetype-config --cflags)
|
||||||
|
|
||||||
#CFLAGS+=-O0 # for RedHat's gcc-2.96-95
|
#CFLAGS+=-O0 # for RedHat's gcc-2.96-95
|
||||||
@ -12,10 +15,11 @@ CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)
|
|||||||
|
|
||||||
subfont: subfont.o
|
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 $@
|
$(CC) $(CFLAGS) -S $< -o $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f subfont subfont.o core
|
rm -f subfont subfont.o subfont.S core
|
||||||
|
Loading…
Reference in New Issue
Block a user