--- ./Makefile~ 2004-11-23 04:11:49.000000000 +0900 +++ ./Makefile 2005-08-22 04:53:44.000000000 +0900 @@ -2,16 +2,13 @@ #This is the makefile for vobcopy, mainly written by rosenauer. These things #below here are variable definitions. They get substituted in the (CC) and #stuff places. -CC ?= gcc -#PREFIX += /usr/local -#BINDIR = ${PREFIX}/bin -#MANDIR = ${PREFIX}/man -PREFIX += /usr/local +CC = gcc +PREFIX = /opt/local BINDIR = ${PREFIX}/bin MANDIR = ${PREFIX}/man LFS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -CFLAGS += -I/usr//include -LDFLAGS += -ldvdread -L/usr//lib +CFLAGS = -I${PREFIX}/include +LDFLAGS = -L${PREFIX}/lib -ldvdread #This specifies the conversion from .c to .o .c.o: