fix Makefile and README.md for 2014/skeggs

This commit is contained in:
Landon Curt Noll committed 2023-03-24 03:32:19 -07:00
1 parent 1c3c54e372
commit e7116dce1c
2 files changed
+24 -21

No files matched your search

+7 -9
View File
@@ -63,8 +63,7 @@ X11_INCDIR= /opt/X11/include
# Common C compiler warnings to silence # Common C compiler warnings to silence
# #
#CSILENCE= #CSILENCE=
CSILENCE= -Wno-c99-extensions -Wno-declaration-after-statement -Wno-format-extra-args \ CSILENCE= -Wno-format-extra-args -Wno-keyword-macro -Wno-parentheses \
-Wno-keyword-macro -Wno-overlength-strings -Wno-parentheses \
-Wno-unused-parameter -Wno-unused-parameter
# Common C compiler warning flags # Common C compiler warning flags
@@ -95,7 +94,7 @@ ARCH=
# Defines that are needed to compile # Defines that are needed to compile
# #
#CDEFINE= #CDEFINE=
CDEFINE= '-DCC="${CC} -fPIC"' CDEFINE= -DCC="${CC} -fPIC"
# Include files that are needed to compile # Include files that are needed to compile
# #
@@ -103,8 +102,8 @@ CINCLUDE=
#CINCLUDE= -include stdlib.h #CINCLUDE= -include stdlib.h
#CINCLUDE= -include stdio.h #CINCLUDE= -include stdio.h
#CINCLUDE= -include stdlib.h -include stdio.h #CINCLUDE= -include stdlib.h -include stdio.h
#CINCLUDE= -I ${X11_INCDIR} #CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
#CINCLUDE= -I ${HOMEBREW_PREFIX}/include/SDL2 #CINCLUDE= `${SDL2_CONFIG} --cflags`
# Optimization # Optimization
# #
@@ -125,10 +124,10 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
# Libraries needed to build # Libraries needed to build
# #
#LIBS= LIBS=
LIBS= -ldl #LIBS= -lm
#LIBS= -L ${X11_LIBDIR} -lX11 #LIBS= -L ${X11_LIBDIR} -lX11
#LIBS= -L ${HOMEBREW_PREFIX}/lib -lSDL2 #LIBS= `${SDL2_CONFIG} --libs`
# C compiler to use # C compiler to use
# #
@@ -328,4 +327,3 @@ pluto: charon
@echo "dwarf is a type of planet" @echo "dwarf is a type of planet"
@echo "therefore, $@ is a planet" @echo "therefore, $@ is a planet"
@echo "having lots of planets is good feature because supernovae can help ${MAKE} a lot of them" @echo "having lots of planets is good feature because supernovae can help ${MAKE} a lot of them"
+17 -12
View File
@@ -1,26 +1,32 @@
# Most dynamic # Most dynamic
Cel Skeggs Cel Skeggs
<ioccc@celskeggs.com> <ioccc@celskeggs.com>
<http://www.celskeggs.com> <http://www.celskeggs.com>
## To build: # To build:
make all ```sh
make
```
### To run ### To run:
./prog ```sh
./prog
```
### Try: ### Try:
./prog ```sh
echo "Do or do not. There is no try."
```
HINT: Try pressing the left and right arrow keys as needed. HINT: Try pressing the left and right arrow keys as needed.
Also try pressing space/enter to select options. Also try pressing space/enter to select options.
Pressing Q or Escape may end the fun before you are ready. :-) Pressing Q or Escape may end the fun before you are ready. :-)
### Selected Judges Remarks: ## Judges' comments:
When the code looks like lemons, it is probably because the LEMONPEOPLE, When the code looks like lemons, it is probably because the LEMONPEOPLE,
or at least the LEMONLORD was involved. :-) or at least the LEMONLORD was involved. :-)
@@ -220,11 +226,10 @@ I ran out of time to test it on more systems.
`5092` `5092`
-------------------------------------------------------------------------------- ## Copyright:
<!--
(c) Copyright 1984-2015, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved (c) Copyright 1984-2015, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc]. This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html [judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/ [cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->