302 Commits
Author SHA1 Message Date
Landon Curt Noll 1c35dc3b47 make everything true :-)
Add @${TRUE} as an action for the everything rule in Makefiles.
2023-03-26 20:47:04 -07:00
Landon Curt Noll e42d7484cd trim comments and update 133t hacker rulz in Makefiles 2023-03-26 20:24:16 -07:00
Landon Curt Noll 7959f25716 quote sandwich quote :-) 2023-03-26 19:01:20 -07:00
Landon Curt Noll 8920fc2a7a make make maker :-)
In some Makefiles, the maker rule was mis-spellered as just make.
2023-03-26 18:53:26 -07:00
Landon Curt Noll 57c8b23094 remove inconsistent 133t hacker rulz 2023-03-26 18:49:34 -07:00
Landon Curt Noll e03d4d4af6 make alt rule dependency consistent 2023-03-26 18:45:16 -07:00
Landon Curt Noll 88b42e40a4 make .PHONY rules consistent 2023-03-26 18:40:02 -07:00
Landon Curt Noll 3a6c99ea7d make easter_egg rule consistent 2023-03-26 18:20:30 -07:00
Landon Curt Noll 36d0d3e026 make all all rules consistent in Makefiles
The all rule in some Makefiles was inconsistent.
The all rule should depend on the data rule and
not ${DATA}.
2023-03-26 18:01:36 -07:00
Landon Curt Noll f2e4fcb1f7 nuke nuke and dist_clean rules
Removed the nuke and dist_clean rules that were in a few Makefiles
but that are not part of the overall set of utility Makefile rules.
2023-03-26 17:32:37 -07:00
Landon Curt Noll 7a99d04ea5 fix everything in a few things
Changed the position of the everything Makefile rule
in select Makefiles to be consistent with other makefiles.

Fixed Makefile for 1986/stein where everything was not
everything (did not depend on alt).
2023-03-26 17:25:33 -07:00
Cody Boone Ferguson 0e2a09de93 Add thank you to 1985/lycklama
Another one of the entries I fixed but this was before I started putting
my name in (as it had not yet been suggested to me).
2023-03-26 10:55:58 -07:00
Landon Curt Noll 1b1dd2f2e4 put all README.md files under CC BY-SA 4.0 License
This will make is easier for others to share README.md
files while requiring them to attribute the file
when using it.
2023-03-26 02:58:27 -07:00
Landon Curt Noll ea1806abdb change Makefiles to look under X11_INCDIR and X11_INCDIR/X11 2023-03-26 02:22:49 -07:00
Landon Curt Noll 5fc2d72dd1 change use of ${HOMEBREW_PREFIX} with ${SDL2_CONFIG} 2023-03-26 02:19:18 -07:00
Landon Curt Noll 8cd2aa85c1 clean up and improve end of Makefile rules 2023-03-26 02:02:31 -07:00
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
Landon Curt Noll 9e1b0ac82f fix common tool locations header lines in some Makefiles 2023-03-25 22:31:02 -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 0956c5445a Minor fixes in 1985
The README.md referred to Obfuscated C Code Contest but at this point it
was the International Obfuscated C Code Contest.

Add ALT_{OBJ,TARGET} to 1985/shapiro/Makefile as the alt source code
file was there.
2023-03-16 10:17:23 -07:00
Cody Boone Ferguson 564a25e0e7 More README.md files updated
Some of the files modified include some of the files modified yesterday;
others were not modified yesterday. I backtracked as I noticed some
sections are missing in earlier README.md files. However more have to be
checked in earlier years. I'm committing now as I have to do other
things and am likely done for the day.
2023-03-14 08:35:01 -07:00
Cody Boone Ferguson 4db6c8994b Many README.md fixes and some Makefile fixes
The years 1984, 1985 and 1986 have had all winning entry README.md files
updated. This includes formatting, adding author's comments (which in
these years means nothing but still have the section there to indicate
that there were no comments) and possibly other things.

I have updated some - not all - of the 1987 winning entry README.md
files. I have to do other things now but I want these committed. I will
work on the other README.md files another time.
2023-03-13 10:11:02 -07:00
Cody Boone Ferguson e5ef2978f6 Revisit 1985 entries
Updated the README.md files.

Renamed shapiro/shapiro.orig.c -> shapiro/shapiro.alt.c. This is one of
the exceptions where we have the alt version as this alt version is not
actually in the archive tarball (there are other exceptions for various
reasons).
2023-03-11 08:05:11 -08:00
Cody Boone Ferguson 07ac50b610 Rename 1985/lycklama.orig.c -> 1985/lycklama.alt.c
Updated README.md to refer to the alt version instead. Note that it's
there because it provides fun output and also shows how it originally
looked (which is quite different from the fixed [for modern compilers]
version that I believe I made in an earlier commit but if so I'm not
sure which one).
2023-03-02 09:30:15 -08:00
Landon Curt Noll 1dc1b2ff62 remove orig Makefiles for years 1984 thru 1998 2023-02-28 23:57:24 -08:00
Landon Curt Noll e78febe55a remove Historical Makefile NOTEs from years 1984 thru 1998 2023-02-28 23:36:45 -08:00
Landon Curt Noll d0ddf3d2de remove Historical Makefile NOTE from 1984 to 1998 year Makefiles 2023-02-28 23:33:21 -08:00
Cody Boone Ferguson e4dbd8e6e2 Make all 1985 entries compile under linux
Unfortunately some entries will either not compile under macOS or not
run correctly. We used a patch from Yusuke Endoh for
1985/applin/applin.c. Thank you Yusuke! This is actually the entry that
does not work right under macOS but it does under linux.

Update main README.md with links.

Update a number of other README.md files with typos and other fixes and
improvements (including fixing invocations and adding a 'Try:' section
to match later year README files).

Update various Makefiles to add notes and to make some entries compile
(in some cases, those that require -traditional-cpp, they will not
compile under clang and we note this).

Update archive/archive-1985.tar.bz2. Why? Because the purpose of the
archive/ files are for the original files and some of the files in there
were not original. See the files 1985/lycklama/lycklama.orig.c and
1985/shapiro/shapiro.orig.c which in the tarball do not have the .orig
added to the name.
2023-02-28 06:11:42 -08:00
Landon Curt Noll c4f93bf8f4 use var.mk in year level Makefiles for 1984 thru 1995 2023-02-27 00:36:56 -08:00
Landon Curt Noll 07e198a52d change Makefiles for 1984 thru 1995 to use var.mk
Instead of including the same long list Makefile
variables, include a common var.mk from the top
directory level.
2023-02-27 00:00:52 -08:00
Landon Curt Noll 7f14eb5a05 update 1985 Makefile variable set 2023-02-26 17:01:25 -08:00
Cody Boone Ferguson eaa375faca Remove */rules.html
Yes this is on the guidelines branch but I forgot about the html files
(briefly) when on that branch and I don't want to go back to the other
branch and then checkout another branch that does not have these
changes. Maybe they should have both been on the same branch but I want
to avoid problems with conflicts (even though these should be fine).
2023-02-23 04:45:44 -08:00
Cody Boone Ferguson aa77adb0c3 Rename */rules to */rules.txt 2023-02-23 04:42:16 -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 6626ebd0ba improve 1985 Makefiles 2023-02-21 16:00:16 -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
Landon Curt Noll d947bb024f fixed issue of make pluto echo 2023-02-12 22:26:59 -08:00
Landon Curt Noll bfa2a886c5 change SHELL value
Use:

```make
SHELL= bash
```

Do not specify a SHELL path.
2023-02-12 21:59:59 -08:00
Cody Boone Ferguson e417331920 Add invocation to 1985/shapiro/README.md 2023-02-10 09:12:32 -08:00
Cody Boone Ferguson f08da44a44 Fix typos in 1985/sicherman 2023-02-10 08:54:33 -08:00
Cody Boone Ferguson e8eaf9ebd9 Get 1984/lycklama to compile
To get it to compile we have to pass to the compiler -include unistd.h.

To get it to compile without warnings we had to add -Wno-parentheses to
the compiler invocation.

Updated the README to include an example invocation (using the program
source itself) as the old way no longer works (typing in long lines
directly).

Removed some comments that turn out to not be true (it does not need a
K&R compiler for instance).
2023-02-10 08:46:47 -08:00
Cody Boone Ferguson c7ab84305a Typo fixes in many Makefiles
In particular the following fixes were made:

    -MKFIFo= mkfifo
    +MKFIFO= mkfifo
    -ZIPGREp= zipgrep
    -ZIPINFo= zipinfo
    +ZIPGREP= zipgrep
    +ZIPINFO= zipinfo

If it's not immediately clear what the problem is the last letter of the
variable names were in lower case.
2023-02-10 08:20:02 -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 046692c03e Change ${ECHO} to echo in all Makefiles 2023-02-08 05:42:30 -08:00
Cody Boone Ferguson 851e191519 Rename hint.txt and hint.text to README.md 2023-02-08 05:08:28 -08:00
Cody Boone Ferguson 77fb0f11a2 Remove hint.html and index.html
As per discussions on GitHub the index.html and hint.html files should
be deleted in favour of README.md files (from any
.text/.txt/.markdown/.md files which will be turned into README.md in an
upcoming commit).
2023-02-08 05:07:05 -08:00
Landon Curt Noll 8c26623878 Update 1985 tarball with missing 1985/rules 2022-09-21 01:51:02 -07:00
Landon Curt Noll 14d4a37499 Add missing 1985/rules.html 2022-09-21 01:49:51 -07:00