7 INCDIR
= -I.
-I..
/loader
-I.
/wm
-I.
/skin
$(FREETYPE_INC
) $(GTKINC
) $(EXTRA_INC
)
9 OPTIMIZE
= $(OPTFLAGS
) \
10 -fexpensive-optimizations
-fschedule-insns2
-Wall
12 CFLAGS
= $(OPTIMIZE
) $(INCDIR
) $(DEBUG
)
14 SRCS
= wm
/ws.c wm
/wsxdnd.c app.c interface.c cfg.c bitmap.c \
15 skin
/skin.c skin
/font.c skin
/cut.c \
16 mplayer
/widgets.c mplayer
/play.c mplayer
/mw.c mplayer
/sw.c mplayer
/menu.c mplayer
/pb.c mplayer
/common.c \
17 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
23 $(CC
) -c
$(CFLAGS
) -o
$@
$<
27 $(LIB
): .depend
$(OBJS
)
29 $(AR
) rc
$(LIB
) $(OBJS
) $(MPLAYEROBJS
)
35 rm -rf
$(OBJS
) *.o
*~
*.bak main
$(LIB
) .depend
40 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
49 .depend
: Makefile config.mak
50 $(CC
) -MM
$(CFLAGS
) $(SRCS
) 1>.depend
53 # include dependency files if they exist
55 ifneq ($(wildcard .depend
),)