diff options
author | phintuka <phintuka> | 2008-11-16 10:00:04 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-11-16 10:00:04 +0000 |
commit | e0121be1c3bf59b19c121a2e503e60bece3024f6 (patch) | |
tree | 3825a3595d6b89a39a96e30da7016fdcd061ecfc | |
parent | f91782a3a182df586eb06feaffc61730ffa10a61 (diff) | |
download | xineliboutput-e0121be1c3bf59b19c121a2e503e60bece3024f6.tar.gz xineliboutput-e0121be1c3bf59b19c121a2e503e60bece3024f6.tar.bz2 |
Fixed make .dependencies
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -4,7 +4,7 @@ # See the main source file 'xineliboutput.c' for copyright information and # how to reach the author. # -# $Id: Makefile,v 1.64 2008-11-15 21:17:02 phintuka Exp $ +# $Id: Makefile,v 1.65 2008-11-16 10:00:04 phintuka Exp $ # # The official name of this plugin. @@ -262,9 +262,13 @@ OBJS_XINE = xine_input_vdr.o xine_post_autocrop.o xine_post_swscale.o xine_post_ MAKEDEP = g++ -MM -MG DEPFILE = .dependencies $(DEPFILE): Makefile - @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) \ - $(OBJS_SXFE:%.o=%.c) $(OBJS_FBFE:%.o=%.c) \ - $(OBJS_XINE:%.o=%.c) > $@ + @rm -f $@ + @for i in $(OBJS:%.o=%.c) $(OBJS_SXFE:%.o=%.c) $(OBJS_FBFE:%.o=%.c) $(OBJS_XINE:%.o=%.c) ; do \ + $(MAKEDEP) $(DEFINES) $(INCLUDES) -MT "`dirname $$i`/`basename $$i .c`.o" $$i >>$@ ; \ + done +# @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) \ +# $(OBJS_SXFE:%.o=%.c) $(OBJS_FBFE:%.o=%.c) \ +# $(OBJS_XINE:%.o=%.c) > $@ -include $(DEPFILE) @@ -298,7 +302,7 @@ xine_post_swscale.o: xine_post_audiochannel.o: $(CC) $(CFLAGS) -c $(DEFINES) $(INCLUDES) $(OPTFLAGS) -o $@ $< -# fronteds +# frontends logdefs.o: $(CC) $(CFLAGS) -c $(DEFINES) $(INCLUDES) $(OPTFLAGS) -o $@ $< xine_frontend.o: |