2003-02-16 19:22:34

by Sam Ravnborg

[permalink] [raw]
Subject: [PATCH] aic7xxx/aicasm makefile - fix make clean

The latest change to aic7xxx/aicasm/makefile broke make clean.
The following patch re-enable "make-clean" and keep the clean: target.

Sam

===== drivers/scsi/aic7xxx/aicasm/Makefile 1.8 vs edited =====
--- 1.8/drivers/scsi/aic7xxx/aicasm/Makefile Tue Dec 10 20:02:52 2002
+++ edited/drivers/scsi/aic7xxx/aicasm/Makefile Sun Feb 16 20:29:45 2003
@@ -45,8 +45,9 @@
echo "*** Install db development libraries"; \
fi

+clean-files := $(CLEANFILES) $(PROG)
clean:
- rm -f $(CLEANFILES) $(PROG)
+ rm -f $(clean-files)

aicasm_gram.c aicasm_gram.h: aicasm_gram.y
$(YACC) $(YFLAGS) -b $(<:.y=) $<


2003-02-18 20:41:11

by Justin T. Gibbs

[permalink] [raw]
Subject: Re: [PATCH] aic7xxx/aicasm makefile - fix make clean

> The latest change to aic7xxx/aicasm/makefile broke make clean.
> The following patch re-enable "make-clean" and keep the clean: target.

I just renamed CLEANFILES to clean-files and added $(PROG) to it. It
should do the same thing.

--
Justin