mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2014-08-18, 14:12   #1
Explorer09
 
May 2014

1000012 Posts
Default In Prime95 linux64, "make clean" deletes factor64.o while it shouldn't.

It's an error in makefiles. Title says it all.
Patch provided below.

Code:
diff -r -u a/linux64/makebsd b/linux64/makebsd
--- a/linux64/makebsd	2014-05-30 10:35:16.000000000 +0800
+++ b/linux64/makebsd	2014-08-18 22:05:41.855705653 +0800
@@ -27,7 +27,7 @@
 	[ ! -e ../secure5.c ] && touch ../secure5.c || true
 
 clean:
-	rm -f $(EXE) $(EXE2) $(OBJS) $(FACTOROBJ)
+	rm -f $(EXE) $(EXE2) $(OBJS)
 
 .c.o:
 	$(CC) $(CFLAGS) -c $<
diff -r -u a/linux64/makefile b/linux64/makefile
--- a/linux64/makefile	2014-05-30 10:35:16.000000000 +0800
+++ b/linux64/makefile	2014-08-18 22:05:49.983781949 +0800
@@ -36,7 +36,7 @@
 	[ ! -e ../secure5.c ] && touch ../secure5.c || true
 
 clean:
-	rm -f $(EXE) $(EXE2) $(LINUXOBJS) $(FACTOROBJ)
+	rm -f $(EXE) $(EXE2) $(LINUXOBJS)
 
 .c.o:
 	$(CC) $(CFLAGS) -c $<
Explorer09 is offline   Reply With Quote
Old 2014-08-18, 19:44   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3×2,347 Posts
Default

Thanks, fixed for the next release.
Prime95 is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Things that make you go "Hmmmm…" Xyzzy Lounge 3977 2020-08-13 20:26
Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" wildrabbitt Miscellaneous Math 11 2015-03-06 08:17
Getting "Error 40: No Assignment" but seems like I shouldn't be sixblueboxes PrimeNet 4 2013-12-30 23:15
Any way to make the info in "Main" reappear? flipe Software 1 2012-02-22 06:33
Would Minimizing "iterations between results file" may reveal "is not prime" earlier? nitai1999 Software 7 2004-08-26 18:12

All times are UTC. The time now is 05:23.

Fri Aug 14 05:23:51 UTC 2020 up 1 day, 1:59, 1 user, load averages: 1.33, 1.33, 1.32

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.