pinosaur
/
sped.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reading file
[sped.git]
/
makefile
diff --git
a/makefile
b/makefile
index
d83be28
..
64a6613
100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-1,3
+1,5
@@
+CC=gcc
+CFLAGS=-m32 -no-pie -g
.PHONY: clean
.PHONY: clean
@@
-7,7
+9,7
@@
sped.o: sped.asm
nasm -f elf32 $^ -o $@
sped: sped.o
nasm -f elf32 $^ -o $@
sped: sped.o
-
ld -m elf_i386
$^ -o $@
+
$(CC) $(CFLAGS)
$^ -o $@
clean:
rm sped *.o
clean:
rm sped *.o