view Gui/Makefile @ 5955:caac20b1ca79

fix xmga fs, resize to movie size and mouse auto hide + dga
author pontscho
date Fri, 03 May 2002 20:57:13 +0000
parents 3997f8eec36e
children 5d543521dd06
line wrap: on
line source


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) $(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 ###

$(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 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