Mercurial > mplayer.hg
diff Gui/mplayer/Makefile @ 1693:d237c5d4b216
GUI version n-1
author | arpi |
---|---|
date | Sat, 25 Aug 2001 21:04:29 +0000 |
parents | |
children | 32b1bb50a0e8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Gui/mplayer/Makefile Sat Aug 25 21:04:29 2001 +0000 @@ -0,0 +1,45 @@ + +include ../../config.mak +include ../config.mak + +include ../bitmap/bitmap.mak +include ../gui.mak + +LIB = mplayer + +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 ### + +default: .depend $(MPLAYEROBJS) + +all: default + +clean: + rm -rf $(MPLAYEROBJS) *.o *~ *.bak .depend + +distclean: clean + +dep: depend + +depend: .depend + +.depend: Makefile ../config.mak ../config.h ../gui.mak ../bitmap/bitmap.mak + $(CC) -MM $(CFLAGS) $(MPLAYERSRCS) 1>.depend + +# +# include dependency files if they exist +# +ifneq ($(wildcard .depend),) +include .depend +endif