fix Makefile and README.md for 2014/skeggs
This commit is contained in:
1 parent
1c3c54e372
commit
e7116dce1c
2 files changed
+24
-21
No files matched your search
@@ -63,8 +63,7 @@ X11_INCDIR= /opt/X11/include
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
#CSILENCE=
|
||||
CSILENCE= -Wno-c99-extensions -Wno-declaration-after-statement -Wno-format-extra-args \
|
||||
-Wno-keyword-macro -Wno-overlength-strings -Wno-parentheses \
|
||||
CSILENCE= -Wno-format-extra-args -Wno-keyword-macro -Wno-parentheses \
|
||||
-Wno-unused-parameter
|
||||
|
||||
# Common C compiler warning flags
|
||||
@@ -95,7 +94,7 @@ ARCH=
|
||||
# Defines that are needed to compile
|
||||
#
|
||||
#CDEFINE=
|
||||
CDEFINE= '-DCC="${CC} -fPIC"'
|
||||
CDEFINE= -DCC="${CC} -fPIC"
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
@@ -103,8 +102,8 @@ CINCLUDE=
|
||||
#CINCLUDE= -include stdlib.h
|
||||
#CINCLUDE= -include stdio.h
|
||||
#CINCLUDE= -include stdlib.h -include stdio.h
|
||||
#CINCLUDE= -I ${X11_INCDIR}
|
||||
#CINCLUDE= -I ${HOMEBREW_PREFIX}/include/SDL2
|
||||
#CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
|
||||
#CINCLUDE= `${SDL2_CONFIG} --cflags`
|
||||
|
||||
# Optimization
|
||||
#
|
||||
@@ -125,10 +124,10 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
|
||||
|
||||
# Libraries needed to build
|
||||
#
|
||||
#LIBS=
|
||||
LIBS= -ldl
|
||||
LIBS=
|
||||
#LIBS= -lm
|
||||
#LIBS= -L ${X11_LIBDIR} -lX11
|
||||
#LIBS= -L ${HOMEBREW_PREFIX}/lib -lSDL2
|
||||
#LIBS= `${SDL2_CONFIG} --libs`
|
||||
|
||||
# C compiler to use
|
||||
#
|
||||
@@ -328,4 +327,3 @@ pluto: charon
|
||||
@echo "dwarf is a type of planet"
|
||||
@echo "therefore, $@ is a planet"
|
||||
@echo "having lots of planets is good feature because supernovae can help ${MAKE} a lot of them"
|
||||
|
||||
+17
-12
@@ -1,26 +1,32 @@
|
||||
# Most dynamic
|
||||
|
||||
Cel Skeggs
|
||||
<ioccc@celskeggs.com>
|
||||
<http://www.celskeggs.com>
|
||||
Cel Skeggs
|
||||
<ioccc@celskeggs.com>
|
||||
<http://www.celskeggs.com>
|
||||
|
||||
## To build:
|
||||
# To build:
|
||||
|
||||
make all
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
### To run
|
||||
### To run:
|
||||
|
||||
./prog
|
||||
```sh
|
||||
./prog
|
||||
```
|
||||
|
||||
### Try:
|
||||
|
||||
./prog
|
||||
```sh
|
||||
echo "Do or do not. There is no try."
|
||||
```
|
||||
|
||||
HINT: Try pressing the left and right arrow keys as needed.
|
||||
Also try pressing space/enter to select options.
|
||||
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,
|
||||
or at least the LEMONLORD was involved. :-)
|
||||
@@ -220,11 +226,10 @@ I ran out of time to test it on more systems.
|
||||
|
||||
`5092`
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
<!--
|
||||
## Copyright:
|
||||
|
||||
(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].
|
||||
|
||||
[judges]: http://www.ioccc.org/judges.html
|
||||
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
|
||||
-->
|
||||
Reference in new issue
Block a user