diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-25 21:04:29 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-25 21:04:29 +0000 |
commit | 9f6529b3d3a1ec681a84735d57a9f2d8656809af (patch) | |
tree | 4943e4a95c68932a956ce7a693c58f5b2ed79b37 /Gui/Makefile | |
parent | 05f7ab93841eef7bf50c31b64bf723c100e0c123 (diff) | |
download | mpv-9f6529b3d3a1ec681a84735d57a9f2d8656809af.tar.bz2 mpv-9f6529b3d3a1ec681a84735d57a9f2d8656809af.tar.xz |
GUI version n-1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1694 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/Makefile')
-rw-r--r-- | Gui/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Gui/Makefile b/Gui/Makefile new file mode 100644 index 0000000000..765b66b483 --- /dev/null +++ b/Gui/Makefile @@ -0,0 +1,57 @@ + +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 -mwide-multiply -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 |