notaz.gp2x.de
/
ginge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
IO op patching to memhandler calls
[ginge.git]
/
loader
/
Makefile
1
CC = $(CROSS_COMPILE)gcc
2
AS = $(CROSS_COMPILE)as
3
CFLAGS += -Wall -ggdb
4
LDFLAGS += -static -ggdb
5
6
ifndef ARCH
7
ARCH = ia32
8
CFLAGS += -m32
9
LDFLAGS += -m32
10
ASFLAGS += --32
11
endif
12
ifeq "$(ARCH)" "arm"
13
ASFLAGS += -mfloat-abi=soft
14
OBJ += sys_cacheflush.o
15
endif
16
17
OBJ += loader.o loader_$(ARCH).o patches.o emu.o
18
19
loader: $(OBJ)
20
21
loader: LDFLAGS += -Wl,-T script_$(ARCH).lds
22
23
clean:
24
$(RM) loader $(OBJ)