From 3b166416a38fd18c1bdab2da285b7d192ee75dee Mon Sep 17 00:00:00 2001 From: gdr Date: Wed, 24 Sep 1997 06:18:44 +0000 Subject: [PATCH] cleaned up makefile a bit --- usr.bin/tr/tests/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/usr.bin/tr/tests/Makefile b/usr.bin/tr/tests/Makefile index 4cf2644..8cf9429 100644 --- a/usr.bin/tr/tests/Makefile +++ b/usr.bin/tr/tests/Makefile @@ -6,14 +6,22 @@ CFLAGS += -v -I /usr/include LDFLAGS += -v +GENDATA = file2.bin1 file2.bin2 file2.bin3 \ + file3.alnum file3.alpha file3.blank file3.cntrl file3.digit \ + file3.full file3.graph file3.lower file3.print file3.punct \ + file3.space file3.upper file3.xdigit + # Default target, "all," generates the files all: file2.bin1 genbin -# Files depend upon program -file2.bin1: genbin +gendata: $(GENDATA) + +$(GENDATA) .UPDATEALL: genbin ./genbin # Remove intermediate files clean: - $(RM) -f *.o - $(RM) -f *.root + -$(RM) -f genbin.o genbin.root + +clobber: clean + -$(RM) -f test.list $(GENDATA) genbin