Add alt code to 2014/maffiodo2 + try.sh script
The alt code is from the author. The try.sh script has the example command provided by the judges as well as some by the author. One was removed because of a syntax error (removed from the author's examples). Format/typo check README.md file. The only thing that has to be done is to update the references to twitter to note how the IOCCC no longer endorses twitter or whatever the rocket destroyer wishes to call it (though certainly it won't be worded like that :-) ).
This commit is contained in:
1 parent
7d432e5f09
commit
dc538865af
6 files changed
+128
-9
No files matched your search
@@ -113,8 +113,8 @@ OBJ= ${PROG}.o
|
||||
DATA= image.rgb
|
||||
TARGET= ${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -137,6 +137,10 @@ ${PROG}: ${PROG}.c
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user