commit a07f5341bf71e40d65e36d037bb427d0ec1cd983
parent 74e8a59d2ff47a8720971815ceccf41569baed1f
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date: Wed, 19 May 2021 07:29:23 +0000
mkfile: profiling (disabled by default)
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/mkfile b/mkfile
@@ -30,13 +30,13 @@ bin:
bin/uxnasm $stem.usm $target >/dev/null
bin/debugger: debugger.$O uxn.$O
- $LD -o $target $prereq
+ $LD $LDFLAGS -o $target $prereq
bin/uxnasm: assembler.$O
- $LD -o $target $prereq
+ $LD $LDFLAGS -o $target $prereq
bin/uxnemu: emulator.$O apu.$O mpu.$O ppu.$O uxn.$O
- $LD -o $target $prereq
+ $LD $LDFLAGS -o $target $prereq
(assembler|debugger|emulator|uxn)\.$O:R: src/\1.c
$CC $CFLAGS -Isrc -o $target src/$stem1.c
@@ -54,3 +54,5 @@ clean:V:
install:QV: all
exit 'Sorry, there is no install rule yet'
+
+#LDFLAGS=-p