Reverse reversal of alt/original 2005/giljade code
In other words now the version that can compile with clang is the giljade.c and the other is giljade.alt.c. The reason is that the actual award is about a 2D puzzle and this still works with the clang compilable version. It also lets those who are forced to use clang compile the code and at least enjoy the puzzle. The Makefile has been updated to remove the note about clang or rather reworded so that the user is made aware that the alt version will run the self-test but the original will not and to see the README.md for more details.
This commit is contained in:
1 parent
85599f1571
commit
dbd9994ca4
5 files changed
+85
-74
No files matched your search
@@ -134,8 +134,8 @@ all: data ${TARGET}
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: this version requires non-standard args to main() and will fail with"
|
||||
@echo "some compilers like clang. Try make alt for such compilers."
|
||||
@echo "NOTE: this version cannot successfully run the self-test. Use make alt"
|
||||
@echo "for a version which will work. See README.md for why it is this way."
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
|
||||
# alternative executable
|
||||
|
||||
Reference in new issue
Block a user