Skip to contentSkip to conversation

aic7xxx/aicasm makefile - fix make clean

PATCH In review Sam Ravnborg 2 participants 2 messages Feb 16, 2003 – Feb 18, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 =====

drivers/scsi/aic7xxx/aicasm/Makefile +2 -1
@@ -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=) $<
#1 lore raw
Quoted 2 lines

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