pinosaur
/
sped.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more work on reading file
[sped.git]
/
makefile
diff --git
a/makefile
b/makefile
index
64a6613
..
d031d20
100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-1,12
+1,14
@@
CC=gcc
-CFLAGS=-m32 -no-pie -g
+CFLAGS=-m32 -no-pie
+ASM=nasm
+ASMFLAGS=-f elf32 -g -F dwarf
.PHONY: clean
make: sped
sped.o: sped.asm
-
nasm -f elf32
$^ -o $@
+
$(ASM) $(ASMFLAGS) -g
$^ -o $@
sped: sped.o
$(CC) $(CFLAGS) $^ -o $@