$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 21:47:25 jmmv Exp $ --- Makefile.orig Thu Aug 17 00:16:56 1995 +++ Makefile @@ -36,9 +36,9 @@ ############## # JPEG STUFF # ############## -JPEG_LIB = jpeg/libjpeg.a -JPEG_DIR = -Ijpeg -JPEG_LIB_DIR = -Ljpeg +JPEG_LIB = -ljpeg +JPEG_DIR = +JPEG_LIB_DIR = MP_JPEG_OBJS = jpeg.o MP_JPEG_SRCS = jpeg.c @@ -57,7 +57,7 @@ ################# # INCLUDE FILES # ################# -INCLUDEDIR = -Iheaders -I/usr/include $(JPEG_DIR) +INCLUDEDIR = -Iheaders $(JPEG_DIR) ############################################################################ # LIBRARIES # specify library directories; need jpg lib and maybe pbm # @@ -203,7 +203,7 @@ ############ mpeg_encode: $(MP_ALL_OBJS) $(JPEG_LIB) - $(PURIFY) $(CC) $(CFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS) + $(PURIFY) $(CC) $(LDFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS) strip mpeg_encode profile: $(MP_ALL_OBJS)