From 154d40710b7d6c181f4dcd2fa8df0f6fe63fd117 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:26:12 -0800 Subject: [PATCH] Fixes for recent commits The Makefile.example file now has the ALT_OBJ and ALT_TARGET (with a comment explaining how to use it) and the alt rule (which if the variables are left empty it will do nothing with 'make alt' or 'make everything'). The example Makefile now has the everything rule as well, for those who have an alt target. Fix links to next/try.sh, next/try.alt.sh and next/Makefile.example in html files (guidelines/rules/FAQ) to not link to GitHub as they're supposed to be downloaded. --- faq.html | 4 ++-- faq.md | 4 ++-- next/Makefile.example | 26 ++++++++++++++++++++++++++ next/guidelines.html | 24 +++++++++++++----------- next/guidelines.md | 22 ++++++++++++---------- next/rules.html | 6 +++--- next/rules.md | 8 ++++---- 7 files changed, 62 insertions(+), 32 deletions(-) diff --git a/faq.html b/faq.html index b9462c167..21aa95beb 100644 --- a/faq.html +++ b/faq.html @@ -893,7 +893,7 @@ this is not clear!
If your submission has more than one use, or if you have interesting ways to
invoke your program, perhaps using other commonly installed tools (or tools
included in your submission), it can be helpful to include a try.sh script.
A template try.sh can be used as a +
A template try.sh can be used as a starting point, or you can look at some of the others in the website, to get some ideas.
It is not detrimental to your chances of winning if you do not include one as @@ -903,7 +903,7 @@ does not mean that a program that cannot be used with other programs is less interesting or less likely to win, but we do enjoy interesting and creative uses of submissions.
If you have alternate code that you are including, then you can use the -try.alt.sh template instead.
+try.alt.sh template instead.We recommend that you include the use of these scripts in the try rule in the
example Makefile that you modify for your submission. See the
FAQ on “submission Makefiles.
IMPORTANT: Be SURE to read the IOCCC rules.
Jump to: top
@@ -551,7 +551,7 @@ repo. to account for the new mkiocccentry repo tools. @@ -939,14 +939,14 @@ that’s OK too!We recommend that you use the example
+ We recommend that you use the example
Makefile,
renamed as Makefile of course, as the starting point for your submission’s
required Makefile. Feel free to modify the Makefile to suit your obfuscated
needs.
@@ -1563,8 +1564,9 @@ CPU, we might just try your submission on that emulator as well :-)
main;
**IMPORTANT**: Be **SURE** to read the [IOCCC rules](rules.html).
@@ -161,7 +161,7 @@ to account for the new [mkiocccentry repo](https://github.com/ioccc-src/mkioccce
@@ -647,14 +647,14 @@ that's OK too!
@@ -860,7 +860,7 @@ Jump to: [top](#)
Doing masses of `#define`s to obscure the source has become 'old'. We
@@ -1161,7 +1162,7 @@ is NOT the smallest C source file that when compiled and run, dumps core:
@@ -1426,7 +1427,8 @@ CPU, we might just try your submission on that emulator as well :-)
If your submission **MUST** run only on a 64-bit or 32-bit architecture,
then you **MUST** specify the `-arch` on your command line
(see `ARCH` in the [example
-Makefile](https://github.com/ioccc-src/temp-test-ioccc/blob/master/next/Makefile.example)). Do not assume a processor word size without specifying `-arch`. For example:
+Makefile](Makefile.example)). Do not assume a processor word size without
+specifying `-arch`. For example:
ARCH= -m64
Jump to: top
IMPORTANT: Be sure to read the IOCCC guidelines.
Jump to: top
@@ -905,7 +905,7 @@ those requirements.The target of the Makefile must be called prog. The original
diff --git a/next/rules.md b/next/rules.md
index e1f1a9570..faaad4147 100644
--- a/next/rules.md
+++ b/next/rules.md
@@ -57,7 +57,7 @@ Jump to: [top](#)
Jump to: [top](#)