--- vamps/Makefile.orig Sat Mar 11 19:49:54 2006 +++ vamps/Makefile Sat Dec 16 14:07:04 2006 @@ -15,14 +15,12 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -PREFIX ?= /usr/local -CC = gcc -CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ +CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT CFLAGS += -Wall LDFLAGS += -s -LOADLIBES += -lm -lpthread -ldvdread +LOADLIBES += -lm -ldvdread INSTALL ?= install @@ -30,6 +28,7 @@ all: vamps_lxdvdrip play_cell_lxdvdrip vamps_lxdvdrip: vamps_lxdvdrip.o requant.o cputest.o tcmemcpy.o strlcpy.o strlcat.o + ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} vamps_lxdvdrip.o: ac.h requant.h @@ -44,6 +43,7 @@ strlcat.o: ac.h libtc.h play_cell_lxdvdrip: play_cell_lxdvdrip.o tcmemcpy.o cputest.o strlcpy.o strlcat.o + ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} play_cell_lxdvdrip.o: ac.h libtc.h