mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
9f6529b3d3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1694 b3059339-0415-0410-9bf9-f77b7e298cf2
46 lines
782 B
Makefile
46 lines
782 B
Makefile
|
|
include ../../config.mak
|
|
include ../config.mak
|
|
|
|
include ../bitmap/bitmap.mak
|
|
include ../gui.mak
|
|
|
|
LIB = mplayer
|
|
|
|
INCDIR = -I. -I../event -I../wm -I../skin $(GTKINC)
|
|
|
|
OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
|
|
-fexpensive-optimizations -malign-double -fschedule-insns2 -mwide-multiply -Wall
|
|
|
|
CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
### TARGETS ###
|
|
|
|
default: .depend $(MPLAYEROBJS)
|
|
|
|
all: default
|
|
|
|
clean:
|
|
rm -rf $(MPLAYEROBJS) *.o *~ *.bak .depend
|
|
|
|
distclean: clean
|
|
|
|
dep: depend
|
|
|
|
depend: .depend
|
|
|
|
.depend: Makefile ../config.mak ../config.h ../gui.mak ../bitmap/bitmap.mak
|
|
$(CC) -MM $(CFLAGS) $(MPLAYERSRCS) 1>.depend
|
|
|
|
#
|
|
# include dependency files if they exist
|
|
#
|
|
ifneq ($(wildcard .depend),)
|
|
include .depend
|
|
endif
|