This is to make it more standard which further allows one to run make on
some other source code, say because they want to try and fix an entry
but forget to update the Makefile. Or if they're the author they can not
worry about it in some cases. But since LDFLAGS is the standard way it
seems better to have the LIBS variable in the Makefile be LDFLAGS.
Maybe there is a reason to not have this and I'm happy to close this in
that case but it does seem better this way so I'm doing this commit.
As besides the entries that are not supposed to compile/cannot compile
due to architectural limitations all the entries can compile in macOS
(though some do not work - yet(? I have plans to work on more later)) it
was not necessary to not silence the warnings after all as the entries
that don't work will be easy to identify ('they don't work' :-) ) so I
can just do make CSILENCE= all in the directory of those entries which
solves the problem I had originally thought of.
Some of the Makefiles have retained other changes I had to make
yesterday to get the entries to work with clang in linux but most of
them were either not changed or were made better with the rollback of
the commit that originally silenced warnings.
Now work on silencing warnings for linux can be done.
Due to the fact we now have .orig.c files and thus the possibility of
winner.orig or prog.orig being built I have updated all the .gitignore
files so that these files ignored. This was done with the following
shell commands, for reference:
for i in $(find 19* 200* 201[0123] -mindepth 2 -maxdepth 2 -name .gitignore) ; do echo $(dirname "$i"|sed -e 's,[0-9]\{4\}/,,g').orig >> "$i"; done
for i in $(find 201[4-9] 2020 -mindepth 2 -maxdepth 2 -name .gitignore) ; do echo prog.orig >> "$i"; done
and the two commands is because it was only in 2014 that the winning
entries were renamed to prog so prog.orig is the correct glob.
Used the following script to check for warnings
not silenced via ${CSILENCE}:
```sh
find ???? -mindepth 1 -maxdepth 1 -type d | while read dir; do
(cd "$dir"; echo =-=-= "$dir" =-=-= ; csilence -v 1 clobber all ; echo ; csilence -v 1 clobber alt)
done 2>&1 | less
```
The fix thank you's have been moved from `README.md` to
`thanks-for-fixes.md`.
**WARNING**: Some mistakes may have been made in doing this.
We presume later changes by others will correct any issues.
The `CONTRIBUTING.md` was renamed `how-to-enter.md`.
A 3rd line of links was added to top level html such as
`contact.html`, `index.html`, `judges.html`, `winners.html`,
and `years.html`.
Improved blank line use in a number (but not all) `README.md` files.
The is a file excluded from this commit that has had the change because
there are other changes but the file is incomplete. That file will be
committed when the fixes are complete which will happen at a later date.
We further deprecate the use of twitter.
In cases such as historic guidelines and rules, we add
a note about using Mastodon.
In cases where a tweet URL was used, we replace with
an Internet Archive link because twitter has announced
that accounts that are not used for a period of time
will be deleted.
We add a few missing deprecated_twitter information
to the author.numbers and author.cvs files.
We remove references to twitter handles (after making
sure that both author.numbers and author.cvs has the
deprecated_twitter information). When the "_README.md_"
files have their header information generated by
a tool, such deprecated_twitter data will not be present.
Added some German to try and also asked some questions both about German
as well as one about Spanish. This (and in particular the German) was
prompted by a brief dialogue in GitHub.
I know that in bugs.md there is a missing URL for him or at least about
one of the entries but I'll have to look at that later. It might be that
it should stay there as it was a website for the entry itself and it
would be nice to have it back but for now this is unaddressed.
Format and typo fix README.md.
Un-rot13 the how13 and make it how.md. The reversal of rot13 was
discussed on GitHub at Landon's request.
One link was fixed.
Added other links. I was sorely tempted to make two links for garbage
collector, garbage == Windows and collector == the actual garbage
collector :-) but I decided that that's not my place so I didn't do it
as much as I wanted to (and I dearly wanted to!).
In some places there probably should be links again but since they were
linked to earlier in the document I'm going to pass on it for now.
I believe but am not certain that with this commit with the exception of
2012/README.md that 2012 is finished at least with format fixes in
README.md files (unless I come across something when trying out the
entries later on).
Link was also added to winners.{html,csv}.
Found via his email address - I checked to see if the domain was valid
(or at least attempted to) and saw it's their website.
I should point out that I'm unclear on one thing. It seems vague or
cryptic but this might very well be because I've not yet tried the entry
- it is about the usage of the program. I will try it after I finish the
remaining README.md files. Hopefully it'll be clearer at this point.
Based on the author's description I made an alt version that should
theoretically work in Windows though of course (thank goodness) I have
no way to actually test it.
Just like with 2011/vik I've only done this because part of issue #1 is
to make entries work on as many systems as possible though it's not
entirely clear to me that 'Windows' should even be considered a 'system'
at all let alone one worthy of consideration :-)
Updated .gitignore.
The try section now has a new script 'everything.sh' which runs make
everything and then runs (with less) every executable so the user can
more easily see exactly what it does.
The coloured version (endoh1_color.c) was not suggested in the try
section and I think that's a shame so I remedied that.
Updated .gitignore with a file referenced by the judges (that probably
will never exist but nonetheless is referenced).
Format fix README.md.
Format fixes in README.md. It should be noted that in at least
deckmyn.md I was unclear about some things. It appeared the author was
using regexps but some of it looked off so I might have improperly
placed '`'s. I also am not remotely familiar with music theory or even
the terms so I could have easily missed something. I'd certainly welcome
a musician looking at and if necessary fixing it!
Renamed MANUAL to deckmyn.md.
Updated .gitignore.
Typo fixes.
Or else add an ostomy :-).
Some README.md files have severe ulcerative colitis and will need a
colectomies but others are missing colons. These will be discovered and
fixed in time. In the meantime I've restored some functionality for
these poor README.md files by giving them an ostomy.
There were many many README.md files with the wrong heading level for
different sections. These have been changed.
To help go through the changes it should be noted I used sgit and also
here is what is changed:
The 'Try', 'To build' and 'To run' lines have two '#'s. Some had one and
others had three.
An exception is that in 1984/anonymous/README.md for the alternative
code that had three '#'s. This is not consistent yet and it might be
that only two are desired. But for now that one at least has three.
Just some formatting fixes and in some cases add links to XQuartz for
macOS Mountain Lion and beyond. More entries (probably many more) have
to have that link added but those will be found and fixed in time.
For Makefiles that have alt related rules, moved
the related rules under the alt rule section.
In some cases where there is no alt code,
removed alt rules and/or targets.
Simply the Makefile header.
Refer to the //www.ioccc.org/bugs.md URL (that will eventually exist).
Now using CC BY-SA 4.0 License to how you may share and adapt the
Makefile.
These files are generated based on data from /dev/urandom and are
example uses. As anyone running this entry in a copy of the repo (fork
or otherwise) would get that the files are modified in git status (after
running the example commands) it seems to me that they should be deleted
and added to .gitignore which I have now done.
My guess (but it's just a guess) is that when the repo was set up these
commands were run and perhaps a git add . was done from the root
directory.