1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/Gui/Makefile
pontscho 67c86b5a29 gcc 3 error fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1841 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-09-02 17:59:54 +00:00

58 lines
966 B
Makefile

LIB = libgui.a
include ../config.mak
include config.mak
include bitmap/bitmap.mak
MPLAYERDIR = mplayer/
include gui.mak
INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC)
OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
-fexpensive-optimizations -malign-double -fschedule-insns2 -Wall
CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
### TARGETS ###
$(LIB): .depend $(OBJS)
$(MAKE) -C mplayer
rm -f $(LIB)
ar rc $(LIB) $(OBJS) $(MPLAYEROBJS)
all: $(LIB)
clean:
$(MAKE) -C mplayer clean
rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
#dep: depend
#
#depend:
# makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
#
distclean: clean
dep: depend
depend: .depend
.depend: Makefile config.mak config.h gui.mak bitmap/bitmap.mak
$(MAKE) -C mplayer depend
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif