Commit Graph
53 Commits
Author SHA1 Message Date
Landon Curt Noll d04e6d8f03 remove X11_LIBDIR and X11_INCDIR setting from Makefiles
The X11_LIBDIR and X11_INCDIR values are now set in the
top level `var.mk` file.
2023-03-26 00:50:47 -07:00
Landon Curt Noll bbd18a20df improve Makefile headers
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.
2023-03-25 23:51:14 -07:00
Cody Boone Ferguson a68a5d4d18 Many README.md files updated
Formatting and other notes. Many more need to be checked for this but I
wanted these changes out of the way of git status to try and clean my
working changes.
2023-03-24 04:40:30 -07:00
Cody Boone Ferguson c14148da39 Fix 2000/dlowe for more recent perl versions
The problem was that they renamed 'na' to 'PL_na' so the code did not
compile. I note that it segfaults in macOS but I've not had a chance to
look into that yet. It works fine in linux.
2023-03-23 11:51:18 -07:00
Cody Boone Ferguson a93878611a Typo fixes in two README.md files in 2000/
... not 2000 README.md files! :-)
2023-03-22 10:46:59 -07:00
Cody Boone Ferguson ca35488581 Make 2000/jarijyrki compile without -I option
The includes for the X11 header files omitted the X11 and this means
running make will fail even if one has the files in a place that's in
the include path (default or via -I option).

Of course if one has X11 include files in a non-standard location (or
where the compiler doesn't look) they'll still have to use the -I
option.
2023-03-22 10:43:41 -07:00
Cody Boone Ferguson 2946cf1982 Make 2000/anderson use fgets() not gets()
I tried to keep the format similar to the original. The only difference
is that there are more lines now.
2023-03-22 10:20:35 -07:00
Cody Boone Ferguson 489a5df2bf Update some of the 2000 README.md files
I am aware of some entries that do not compile that I haven't even
thought about fixing yet.

I also need to use my linux box to test the X11 entries (this goes for
other years as well) but that'll come at another time as I rarely am at
sitting at that computer. But the README.md files should be in a better
state.
2023-03-20 09:30:22 -07:00
Cody Boone Ferguson 20849dd0d5 Fix 2000/natori
With clang it did not compile at all; with gcc it segfaulted. Now it
works properly. It's a crescent moon today and that's exactly what is
being shown. This required another function but since it wasn't a
one-liner this doesn't cause any problems with the award either.
2023-03-20 09:23:09 -07:00
Cody Boone Ferguson e2b2a83f05 Get 2000/schneiderwent to compile
It uses trigraphs so it needs the -trigraphs option at the compiler.

As well the README.md was format fixed.
2023-03-20 09:07:17 -07:00
Cody Boone Ferguson fa682003eb Fix typos, formatting and thank yous (add links)
In some files changed the formatting was fixed to be a proper markdown
file.

There were some typos including that some README.md files that linked to
/winners.html#Cody_Boone_Ferguson actually linked to the non-existent
file /years which obviously would not work.

I also added links to the rest of the places I have fixed entries (but
see below) and I did the same for Yusuke Endoh's fixes.

As well apparently one entry I thought he fixed to compile under modern
systems does not seem to so that entry will have to be revisited another
time. That entry was 1993/jonth.

Those are the main changes here if not all of them.
2023-03-18 05:16:31 -07:00
Cody Boone Ferguson 9dadc58737 Make 2000/primenum more portable
This was done by making main() return type int not void.
2023-03-18 04:47:53 -07:00
Cody Boone Ferguson b2c377ab37 Get 2000/thadgavin to compile under linux
In this case fedora but presumably other linux distributions as well.
Specifically some systems need -lm for linking.
2023-03-17 11:55:27 -07:00
Landon Curt Noll 6c557c48bd fix 2000 year Makefile 2023-03-15 14:24:35 -07:00
Landon Curt Noll 451043464f fix Makefile and README.md for 2000/tomx 2023-03-15 14:23:33 -07:00
Landon Curt Noll c1f33ae741 fix Makefile and README.md for 2000/thadgavin 2023-03-15 14:19:09 -07:00
Landon Curt Noll 1717b46c94 fix Makefile and README.md for 2000/schneiderwent
NOTE: This program does not compile.
2023-03-15 14:15:10 -07:00
Landon Curt Noll 000823d86b fix Makefile and README.md for 2000/robison 2023-03-15 14:08:30 -07:00
Landon Curt Noll 3b44e798c8 fix Makefile, README.md and .gitignore for 2000/rince 2023-03-15 14:03:34 -07:00
Landon Curt Noll 568940b9bf fix Makefile and README.md for 2000/primenum 2023-03-15 13:41:23 -07:00
Landon Curt Noll 6f14abe4aa fix Makefile and README.md for 2000/natori
There was an attempt to get natori.c to compile.
We moved the 2 includes to the compile line
restoring the code as a 1-liner.

We forced the types of args iun main to conform to
bogons introduced by the ANSI-C committee.

Nevertheless, the code still fails to compile:

    assignment to cast is illegal, lvalue casts are not supported

This will be a TODO fix for later.
2023-03-15 12:32:32 -07:00
Landon Curt Noll f408bd1fd8 fix Makefile and README.md for 2000/jarijyrki 2023-03-15 12:32:32 -07:00
Landon Curt Noll 1846adc6e4 fix Makefile and README.md for 2000/dlowe 2023-03-14 01:28:57 -07:00
Landon Curt Noll e997fd64bd fix Makefile and README.md for 2000/dhyang 2023-03-14 01:28:57 -07:00
Landon Curt Noll a7e1d0c24c fix Makefile and README.md for 2000/briddlebane 2023-03-14 01:28:57 -07:00
Landon Curt Noll a5cb13ee8f fix Makefile and README.md for 2000/bmeyer 2023-03-14 01:28:57 -07:00
Landon Curt Noll 8755f28add fix titles in previous 2020 README.md files 2023-03-14 01:28:57 -07:00
Landon Curt Noll a01cce65a5 fix Makefile and README for 2000/bellard 2023-03-14 01:28:57 -07:00
Landon Curt Noll 662ed6e670 fix Makefile and README for 2000/anderson 2023-03-14 01:28:57 -07:00
Landon Curt Noll 2ef95412a1 remove orig code from 2000/thadgavin 2023-03-08 01:58:24 -08:00
Landon Curt Noll ac6cd5be23 remove orig code from 2000/schneiderwent 2023-03-08 01:54:39 -08:00
Landon Curt Noll 8061cd738c remove orig code from 2000/briddlebane 2023-03-08 01:48:59 -08:00
Landon Curt Noll f615bba21e undo intermediate Makefile changes of 1996 to 2020
The commit 00ae59cd47 had a
mistake that introduces changes to Makefiles for 1996 thru 2020
that should not have been included.

This change reverses these intermediate changes until
the given year's Makefiles are ready.
2023-02-26 23:31:00 -08:00
Landon Curt Noll 00ae59cd47 fix 1995 Makefile comment line 2023-02-26 21:52:15 -08:00
Landon Curt Noll ab9b77b1c9 reverse bad commit 223b1a3f94
The commit 223b1a3f94 was a mistake,
so we reverse both commit 5f7cf0b60d
and commit 223b1a3f94 for now.
2023-02-26 17:21:30 -08:00
Landon Curt Noll 223b1a3f94 update 1992 Makefile variable set 2023-02-26 17:05:50 -08:00
Cody Boone Ferguson 3a59f521ff Rename */guidelines to */guidelines.txt 2023-02-23 04:43:06 -08:00
Cody Boone Ferguson aa77adb0c3 Rename */rules to */rules.txt 2023-02-23 04:42:16 -08:00
Landon Curt Noll 546498a516 Merge branch 'master' into updates-post-birthday 2023-02-22 20:44:14 -08:00
Cody Boone Ferguson 11bb36ac8c Fix conflicts with recent commits (I think/hope)
Some commits this week caused some conflicts with some open pull
requests made last week. I believe and hope that I fixed the conflicts.
2023-02-22 05:44:55 -08:00
Landon Curt Noll b449cb503c update year level README files
Move copyright notice to the end.

Add a standard comment about the newly added `README.md` files.

Clean up trailing whitespace.

Fixed a few minor typos.
2023-02-21 22:16:49 -08:00
Landon Curt Noll e86100b024 add initial .gitignore files per entry
chmod +x 2014/sinon/glock.sh 2014/sinon/hecate.sh
2023-02-21 14:16:46 -08:00
Cody Boone Ferguson 517e936b63 Update 2000/tomx/README.md
Various fixes (typos and formatting fixes included).
2023-02-15 09:34:19 -08:00
Cody Boone Ferguson 1464a25e5a Fix spaces in sed commands in sgit
New version of sgit.

Script now allows for spaces in sed commands. Thus one can do something
like:

    sgit -v3 -x -e 's/web site/website/g'  .

to set verbosity to level 3, turn on tracing (see below) and change
occurrences of 'web site' to be 'website'.

Also added -x option to turn on tracing.
2023-02-15 06:21:10 -08:00
Landon Curt Noll 0af0de4885 Merge branch 'xexyl-updates'
Complex merge of pull request #7:

Conflicts resolved for:

    .gitignore

A few minor trailing whitespace changes made in:

    faq.html
    2000/guidelines
2023-02-12 18:46:46 -08:00
Cody Boone Ferguson e8a3b50211 Change references of 'EMail' to '[Ee]mail'
Depending on if it was the beginning of the sentence the EMail would
become 'Email' or 'email'.

Some references of 'Email' were changed to 'email' as well as those were
not in the beginning of a sentence.

A few places some consistency of capitalised email address (made lower
case) were changed to match other places of the same pattern.
2023-02-10 06:01:22 -08:00
Cody Boone Ferguson 017278725a Fix typo for 'resubmission'
The typo, incidentally, was changed to be 'resubmission' (quite
obviously :-) ).
2023-02-10 04:09:07 -08:00
Cody Boone Ferguson b547b7584b Typo fix in many Makefiles
The typo was judgess instead of judges. As the list of files changed is
quite long I'm not including it here.
2023-02-09 12:47:23 -08:00
Cody Boone Ferguson 17ea7fbd9e git mv *.hint -> README.md
There is one exception:

    $ find . -name '*.hint' -execdir git mv '{}' README.md \;
    git statufatal: destination exists, source=1992/albert/albert.hint, destination=1992/albert/README.md

Looking at the two files they differ quite a bit so I've not changed it.
I'll bring this up on GitHub.
2023-02-08 05:47:28 -08:00
Landon Curt Noll c7ce2a79cb Update 1998-2004 top level Makefiles 2022-09-19 00:39:54 -07:00