26 lines
753 B
Text
26 lines
753 B
Text
|
$NetBSD: patch-ag,v 1.1.1.1 2003/12/21 21:29:09 wiz Exp $
|
||
|
|
||
|
--- Encoder/makefile.orig Tue Jun 22 20:48:07 1999
|
||
|
+++ Encoder/makefile
|
||
|
@@ -1,8 +1,8 @@
|
||
|
-CC=cc
|
||
|
+#CC=cc
|
||
|
PKGNAME=loco
|
||
|
-OPTFLAGS= -Aa $(CFL) -DBIG_ENDIAN
|
||
|
+#OPTFLAGS= -Aa $(CFL) -DBIG_ENDIAN
|
||
|
|
||
|
-CFLAGS = $(OPTFLAGS) $(VFL) $(DFL) -DPGMPREFIX=\"$(PREFIX)\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG
|
||
|
+CFLAGS += $(OPTFLAGS) $(VFL) $(DFL) -DPGMPREFIX=\"$(PREFIX)\" -DMELCODE -DEXTERNDISTRIB -Dinline="" -DNDEBUG
|
||
|
|
||
|
LNKFLAGS = -lm
|
||
|
|
||
|
@@ -10,6 +10,8 @@ SRCS = global.c jpegmark.c initialize.c
|
||
|
INCL = global.h jpegmark.h bitio.h
|
||
|
|
||
|
EOBJS = global.o jpegmark.o initialize.o encoder.o lossless_e.o lossy_e.o bitio.o melcode.o
|
||
|
+
|
||
|
+all: loco
|
||
|
|
||
|
loco:
|
||
|
$(MAKE) -$(MAKEFLAGS) VFL="" PREFIX="loco" codec
|