1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 09:25:56 +00:00
mpv/Gui/mplayer/Makefile
pl 66d4aa1fd7 patch by D J Hawkey Jr <hawkeyd@visi.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3013 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-19 22:06:42 +00:00

49 lines
815 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) $(EXTRA_INC)
OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
-fexpensive-optimizations -fschedule-insns2 -Wall
ifeq ($(TARGET_ARCH_X86),yes)
OPTIMIZE += -malign-double
endif
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 ../gui.mak ../bitmap/bitmap.mak
$(CC) -MM $(CFLAGS) $(MPLAYERSRCS) 1>.depend
#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif