diff --git a/1985/lycklama/Makefile b/1985/lycklama/Makefile index fcc725682..ce02663ac 100644 --- a/1985/lycklama/Makefile +++ b/1985/lycklama/Makefile @@ -113,8 +113,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= -ALT_TARGET= +ALT_OBJ= ${PROG}.alt.o +ALT_TARGET= ${PROG}.alt ################# diff --git a/1985/lycklama/README.md b/1985/lycklama/README.md index 122980b81..daee2f9ae 100644 --- a/1985/lycklama/README.md +++ b/1985/lycklama/README.md @@ -4,7 +4,9 @@ Ed Lycklama ## To build: - make all +```sh +make all +``` [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to work with @@ -13,21 +15,36 @@ get this to work on modern systems Cody changed the `#o` lines to `#define`. The `lycklama.alt.c` is the original source code as it provides some fun input for the entry. -## To run: - - ./lycklama < some_file - ## Try: - ./lycklama < lycklama.c +```sh +./lycklama < lycklama.c - # notice the difference between the above and this one: - ./lycklama < lycklama.alt.c +# notice the difference between the above and this one: +./lycklama < lycklama.alt.c - ./lycklama < README.md +./lycklama < README.md - ./lycklama < Makefile +./lycklama < Makefile +``` + +### Alternative code: + +If you have an older compiler that lets you define some object to define and +then use it in place of `#define` you can run: + +```sh +make alt +``` + +Use `./lylycklama.alt` as you would `./lycklama` above. + +## To run: + +```sh +./lycklama < some_file +``` ## Judges' comments: