diff -urN subtitleripper.orig/Makefile subtitleripper/Makefile --- subtitleripper.orig/Makefile 2003-12-08 11:28:02 +0200 +++ subtitleripper/Makefile 2006-09-17 00:39:23 +0300 @@ -9,7 +9,7 @@ ### enable ppm support ### DEFINES += -D_HAVE_LIB_PPM_ -LIBS += -lppm +LIBS += -lnetpbm ### enable PNG support ### DEFINES += -D_HAVE_PNG_ @@ -70,19 +70,19 @@ # Target subtitle2pgm: subtitle2pgm.o spudec.o @echo "Linking $@" - @$(CC) $(LIBS) $^ -o $@ + @$(CC) $^ -o $@ $(LIBS) subtitle2vobsub: subtitle2vobsub.o vobsub.o @echo "Linking $@" - @$(CC) $(LIBS) $^ -o $@ + @$(CC) $^ -o $@ $(LIBS) srttool: srttool.o @echo "Linking $@" - @$(CC) $(LIBS) -g $^ -o $@ + @$(CC) -g $^ -o $@ $(LIBS) vobsub2pgm: vobsub2pgm.o vobsub.o spudec.o @echo "Linking $@" - @$(CC) $(LIBS) -g $^ -o $@ + @$(CC) -g $^ -o $@ $(LIBS) .PHONY: clean dist rpm clean: