22 lines
711 B
Text
22 lines
711 B
Text
$NetBSD: patch-ab,v 1.4 2002/09/23 01:29:06 jlam Exp $
|
|
|
|
--- src/Makefile.orig Tue Apr 10 05:37:01 2001
|
|
+++ src/Makefile
|
|
@@ -30,7 +30,7 @@ BACKEND_LIBS=`case "$(BACKEND)" in \
|
|
# compile when you do `make install'. :-)
|
|
# (It would also be weird to have it made by the `doc' Makefile, IMHO.)
|
|
|
|
-all: xzgv install-info
|
|
+all: xzgv
|
|
|
|
OBJS= main.o \
|
|
filedetails.o gotodir.o updatetn.o confirm.o help.o \
|
|
@@ -43,7 +43,7 @@ OBJS= main.o \
|
|
backend.o
|
|
|
|
xzgv: $(OBJS)
|
|
- $(CC) $(CFLAGS) -o xzgv $(OBJS) $(BACKEND_LIBS) -ljpeg -lpng -ltiff -lz
|
|
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o xzgv $(OBJS) $(BACKEND_LIBS) $(LDFLAGS) -ljpeg -lpng -ltiff -lz
|
|
|
|
backend.o:
|
|
$(CC) $(CFLAGS) $(BACKEND_CFLAGS) -c -o backend.o backend.c
|