pinosaur
/
sped.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
abstract func out
[sped.git]
/
makefile
diff --git
a/makefile
b/makefile
index
d031d20
..
82074cf
100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-1,17
+1,17
@@
CC=gcc
CFLAGS=-m32 -no-pie
ASM=nasm
CC=gcc
CFLAGS=-m32 -no-pie
ASM=nasm
-ASMFLAGS=-f elf32 -g
-F dwarf
+ASMFLAGS=-f elf32 -g
.PHONY: clean
make: sped
.PHONY: clean
make: sped
-
sped.o: sped
.asm
- $(ASM) $(ASMFLAGS) -
g $^ -o $@
+
%.o: %
.asm
+ $(ASM) $(ASMFLAGS) -
o $@ $^
-sped: sped.o
- $(CC) $(CFLAGS)
$^ -o $@
+sped: sped.o
fileutils.o
+ $(CC) $(CFLAGS)
-o $@ $^
clean:
rm sped *.o
clean:
rm sped *.o