Merge pull request #1740 from xexyl/endoh2019-g
This commit is contained in:
2 files changed
+10
-2
No files matched your search
+7
-2
@@ -65,7 +65,9 @@ CINCLUDE=
|
||||
|
||||
# Optimization
|
||||
#
|
||||
OPT=
|
||||
# We disable the optimiser and we enable -g because the entry is A BACKTRACE
|
||||
# QUINE and NEEDS debugging symbols.
|
||||
OPT= -O0 -g
|
||||
|
||||
# Default flags for ANSI C compilation
|
||||
#
|
||||
@@ -129,8 +131,11 @@ all: data ${TARGET}
|
||||
clean clobber install love haste waste maker easter_egg \
|
||||
sandwich supernova deep_magic magic charon pluto
|
||||
|
||||
# We FORCE the use of -O0 -g even if someone overrides it because this entry is
|
||||
# a BACKTRACE QUINE and NEEDS debugging symbols.
|
||||
#
|
||||
${PROG}: ${PROG}.c
|
||||
${CC} ${CFLAGS} -g $< -o $@ ${LDFLAGS}
|
||||
${CC} ${CFLAGS} -O0 -g $< -o $@ ${LDFLAGS}
|
||||
|
||||
ascii: ascii.c
|
||||
${CC} $< -o $@
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
make
|
||||
```
|
||||
|
||||
NOTE: the use of the C compiler optimiser was disabled and `-g` was enabled for
|
||||
this entry because it is SUPPOSED to crash and it needs debugging symbols.
|
||||
|
||||
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
|
||||
Reference in new issue
Block a user