--- Makefile.orig 2008-08-15 00:53:11.000000000 +0400 +++ Makefile 2008-08-15 00:54:11.000000000 +0400 @@ -5,19 +5,12 @@ ################################################################################ .SUFFIXES: .c .o .obj -CC = gcc -CFLAGS = -pipe -O2 -Wall -CFLAGS += -g # debug symbols CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -D_LARGEFILE_SOURCE ### -- If you dont want to use JPEG resize feature, comment it out. CFLAGS += -DRESIZE_JPEG -CFLAGS += -I/usr/local/include -LDFLAGS += -static -L/usr/local/lib -ljpeg -ldvdread - -# keep the following lines only if you have the w32api library -LDFLAGS += -L/lib/w32api -lole32 -luuid -CFLAGS += -DHAVE_W32API +CFLAGS += -I${LOCALBASE}/include +LDFLAGS += -L${LOCALBASE}/lib -ljpeg -ldvdread -lm -lcompat ### -- LDFLAGS += -s # strip symbols