pinosaur
/
sped.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
memory allocing
[sped.git]
/
makefile
1
CC=gcc
2
CFLAGS=-m32 -no-pie
3
ASM=nasm
4
ASMFLAGS=-f elf32 -g -F dwarf
5
6
.PHONY: clean
7
8
make: sped
9
10
sped.o: sped.asm
11
$(ASM) $(ASMFLAGS) -g $^ -o $@
12
13
sped: sped.o
14
$(CC) $(CFLAGS) $^ -o $@
15
16
clean:
17
rm sped *.o