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