$OpenBSD: patch-Makefile,v 1.1.1.1 2004/11/24 02:27:33 jolan Exp $ --- Makefile.orig Mon Mar 8 16:10:53 2004 +++ Makefile Sun Oct 17 22:12:04 2004 @@ -1,11 +1,11 @@ INSTALLDIR = /usr/local/bin/ all: - g++ -g -Wall -ldvdread -lm -o streamdvd -I. -Implex streamdvd.c requant.c mplex/*.c mplex/*.cpp + ${CXX} ${CXXFLAGS} -Wall -L${LOCALBASE}/lib -ldvdread -lm -o streamdvd -I. -Implex -I${LOCALBASE}/include streamdvd.c requant.c mplex/*.c mplex/*.cpp addon: - gcc -g -Wall -ldvdread -o streamanalyze contrib/StreamAnalyze/streamanalyze.c - gcc -g -Wall -ldvdread -DVERSION=\"0.9\" -o lsdvd contrib/lsdvd/lsdvd.c + ${CC} ${CFLAGS} -Wall -L${LOCALBASE}/lib -ldvdread -o streamanalyze -I${LOCALBASE}/include contrib/StreamAnalyze/streamanalyze.c + ${CC} ${CFLAGS} -Wall -L${LOCALBASE}/lib -ldvdread -DVERSION=\"0.9\" -o lsdvd -I${LOCALBASE}/include contrib/lsdvd/lsdvd.c gui: g++ -g -Wall -ldvdread -lm -o streamdvd -I. -Implex streamdvd.c requant.c mplex/*.c mplex/*.cpp