From aebecdb1236c5147c48bbb8b3148058eac48b75e Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 1 Apr 2003 03:48:52 +0000 Subject: tidy this up a bit, consistently use parens. --- pkgtools/mtree/files/Makefile.in | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'pkgtools/mtree/files') diff --git a/pkgtools/mtree/files/Makefile.in b/pkgtools/mtree/files/Makefile.in index 353478b0ea0..e6d8e90110c 100644 --- a/pkgtools/mtree/files/Makefile.in +++ b/pkgtools/mtree/files/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.1.1.1 2003/03/31 08:51:32 grant Exp $ +# $NetBSD: Makefile.in,v 1.2 2003/04/01 03:48:52 grant Exp $ srcdir = @srcdir@ prefix = @prefix@ @@ -7,39 +7,37 @@ SHELL = /bin/sh CC = @CC@ CCLD = $(CC) -CFLAGS = -I${srcdir} -I. -I${prefix}/include/libnbcompat @INCLUDES@ @CFLAGS@ +CFLAGS = -I$(srcdir) -I. -I$(prefix)/include/libnbcompat @INCLUDES@ @CFLAGS@ CPPFLAGS= @CPPFLAGS@ DEFS = @DEFS@ INSTALL = @INSTALL@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ -lnbcompat -mandir= ${prefix}/man -mandircat8= ${mandir}/cat8 +LINK= $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ +COMPILE=$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -all: mtree +mandir= $(prefix)/man +mandircat8= $(mandir)/cat8 PROG= mtree -MAN= OBJS= compare.o crc.o create.o excludes.o mtree.o verify.o -LINK= $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ -COMPILE= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) +all: $(PROG) -all: ${PROG} - -${PROG}: ${OBJS} - ${LINK} ${OBJS} ${LIBS} +$(PROG): $(OBJS) + $(LINK) $(OBJS) $(LIBS) .c.o: $(COMPILE) -c $< -o $@ clean: - rm -f ${OBJS} ${PROG} + rm -f $(OBJS) $(PROG) distclean: clean - rm -f Makefile config.h config.status configure.lineno config.log + rm -f Makefile config.cache config.h config.status + rm -f configure.lineno config.log install: - ${INSTALL} ${PROG} ${PREFIX}/sbin - ${INSTALL} -m 444 ${PROG}.cat8 ${mandircat8}/${PROG}.0 + $(INSTALL) $(PROG) $(PREFIX)/sbin + $(INSTALL) -m 444 $(PROG).cat8 $(mandircat8)/$(PROG).0 -- cgit v1.2.3