view Gui/Makefile @ 17094:cb35587c8156

fix vf_phase.c:101: warning: suggest parentheses around + or - inside shift vf_phase.c:102: warning: suggest parentheses around + or - inside shift vf_phase.c:105: warning: suggest parentheses around + or - inside shift vf_phase.c:106: warning: suggest parentheses around + or - inside shift vf_phase.c:112: warning: suggest parentheses around + or - inside shift vf_phase.c:113: warning: suggest parentheses around + or - inside shift vf_phase.c:116: warning: suggest parentheses around + or - inside shift vf_phase.c:117: warning: suggest parentheses around + or - inside shift vf_phase.c:123: warning: suggest parentheses around + or - inside shift vf_phase.c:124: warning: suggest parentheses around + or - inside shift vf_phase.c:127: warning: suggest parentheses around + or - inside shift vf_phase.c:128: warning: suggest parentheses around + or - inside shift vf_phase.c:134: warning: suggest parentheses around + or - inside shift vf_phase.c:135: warning: suggest parentheses around + or - inside shift vf_phase.c:136: warning: suggest parentheses around + or - inside shift vf_phase.c:139: warning: suggest parentheses around + or - inside shift vf_phase.c:140: warning: suggest parentheses around + or - inside shift vf_phase.c:141: warning: suggest parentheses around + or - inside shift
author rathann
date Mon, 05 Dec 2005 01:28:59 +0000
parents e047e70a9767
children 7af5fe0860a1
line wrap: on
line source


LIB	= libgui.a

include ../config.mak
include config.mak

INCDIR  = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) 

OPTIMIZE =  $(OPTFLAGS) \
            -fexpensive-optimizations -fschedule-insns2 -Wall

CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) 

SRCS = wm/ws.c wm/wsxdnd.c app.c interface.c cfg.c bitmap.c \
	skin/skin.c skin/font.c skin/cut.c \
	mplayer/widgets.c mplayer/play.c mplayer/mw.c mplayer/sw.c mplayer/menu.c mplayer/pb.c mplayer/common.c \
	mplayer/gtk/menu.c mplayer/gtk/mb.c mplayer/gtk/about.c mplayer/gtk/pl.c mplayer/gtk/sb.c mplayer/gtk/fs.c mplayer/gtk/opts.c mplayer/gtk/url.c mplayer/gtk/eq.c mplayer/gtk/common.c
OBJS = $(SRCS:.c=.o)

.SUFFIXES: .c .o

.c.o:
	$(CC) -c $(CFLAGS) -o $@ $<

### TARGETS ###

$(LIB):	.depend	$(OBJS)
	rm -f $(LIB)
	$(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
	$(RANLIB) $(LIB)

all:	$(LIB)

clean:
	rm -rf $(OBJS) *.o *~ *.bak main $(LIB) .depend

#dep:	depend
#
#depend:
#	makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
#

distclean: clean

dep:    depend

depend: .depend

.depend: Makefile config.mak
	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend

#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif