corrected removal to /tmp/tmp.c
authoroheimb
Fri, 19 Dec 1997 19:59:50 +0100
changeset 4461 a98605717d83
parent 4460 8b9647d5b632
child 4462 fefe21f761d7
corrected removal to /tmp/tmp.c
src/Tools/8bit/c-sources/isa2latex/Makefile
--- a/src/Tools/8bit/c-sources/isa2latex/Makefile	Fri Dec 19 19:57:28 1997 +0100
+++ b/src/Tools/8bit/c-sources/isa2latex/Makefile	Fri Dec 19 19:59:50 1997 +0100
@@ -31,7 +31,9 @@
 	$(CC) -c conv-main.c
 
 conv-lex.o: conv-lex.x conv-defs.h conv-tables.h
-	flex -8 -t conv-lex.x | cat >tmp.c ; $(CC) -c -o conv-lex.o tmp.c
+	flex -8 -t conv-lex.x >/tmp/tmp.c ; 
+	$(CC) -c -o conv-lex.o /tmp/tmp.c ;
+	rm -f /tmp/tmp.c
 
 #conv-lex.x:  ../../config/conv-tables.inp
 #	touch conv-lex.x
@@ -42,4 +44,5 @@
 # ----------------------------------------------------
 
 clean:
-	@rm -f *.o tmp.c tmp.txt
+	@echo "     cleaning up object and tmp files..."
+	@rm -f *.o