Updates and fixes to 1998/fanf
The try.sh script has been added to run the various inputs the judges recommended one try. The Makefile now can do the intermediate steps. This is possible with the way I fixed the entry to compile. If you look at the original code it's different than the fixed version which is post processing (if I recall correctly). Updated .gitignore. Unless there's a mistake in markdown formatting this should complete 1998/fanf's review.
This commit is contained in:
1 parent
effb1a9820
commit
aaa5209905
5 files changed
+100
-56
No files matched your search
+4
-2
@@ -130,8 +130,10 @@ all: data ${TARGET}
|
||||
sandwich supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "This next step may take some time to complete:"
|
||||
${CC} ${CFLAGS} ${PROG}.c ${LDFLAGS} -o $@
|
||||
@echo "This may take some time to complete:"
|
||||
${CC} ${PROG}.c -E > ${PROG}tmp1.c
|
||||
${CC} ${PROG}tmp1.c -E > ${PROG}tmp2.c
|
||||
${CC} ${CFLAGS} ${PROG}tmp2.c ${LDFLAGS} -o $@
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user