http://bugs.gentoo.org/266739 --- src/Makefile +++ src/Makefile @@ -3,10 +3,10 @@ all: ../bin/dvdrip-splitpipe ../bin/dvdrip-progress ../bin/dvdrip-splitpipe: dvdrip-splitpipe.c - $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o dvdrip-splitpipe dvdrip-splitpipe.c && mv dvdrip-splitpipe ../bin + $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o ../bin/dvdrip-splitpipe dvdrip-splitpipe.c ../bin/dvdrip-progress: dvdrip-progress.c - $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o dvdrip-progress dvdrip-progress.c && mv dvdrip-progress ../bin + $(CC) $(OTHERLDFLAGS) $(CFLAGS) -o ../bin/dvdrip-progress dvdrip-progress.c clean: rm -f dvdrip-splitpipe ../bin/dvdrip-splitpipe dvdrip-progress ../bin/dvdrip-progress --- Makefile.PL +++ Makefile.PL @@ -52,7 +52,7 @@ sub MY::postamble { ' bin/dvdrip-splitpipe bin/dvdrip-progress: src/Makefile - cd src && make + cd src && ( $(MAKE) CC=$(CC) ) '; }