notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow multiple fbdevs
[picodrive.git]
/
platform
/
linux
/
Makefile
diff --git
a/platform/linux/Makefile
b/platform/linux/Makefile
index
250f824
..
1fb54d3
100644
(file)
--- a/
platform/linux/Makefile
+++ b/
platform/linux/Makefile
@@
-12,6
+12,8
@@
use_sh2drc = 1
#drc_debug_interp = 1
#profile = 1
#drc_debug_interp = 1
#profile = 1
+all: mkdirs PicoDrive
+
-include Makefile.local
ifndef ARCH
-include Makefile.local
ifndef ARCH
@@
-27,7
+29,7
@@
CFLAGS += -mcpu=arm920t
DEFINES += ARM
endif
DEFINES += ARM
endif
-CC = $(CROSS)gcc
+CC
?
= $(CROSS)gcc
# frontend
OBJS += io.o emu.o blit.o in_evdev.o plat.o sndout_oss.o log_io.o
# frontend
OBJS += io.o emu.o blit.o in_evdev.o plat.o sndout_oss.o log_io.o
@@
-68,9
+70,7
@@
vpath %.s = ../..
vpath %.S = ../..
vpath %.asm = ../..
vpath %.S = ../..
vpath %.asm = ../..
-DIRS += platform/linux
-
-all: mkdirs PicoDrive
+DIRS += platform/linux zlib unzip
include ../common/common.mak
include ../common/revision.mak
include ../common/common.mak
include ../common/revision.mak
@@
-88,6
+88,9
@@
PicoDrive : $(OBJS)
@echo ">>>" $@
$(CC) $(CFLAGS) $^ $(LDFLAGS) -Wl,-Map=PicoDrive.map -o $@
@echo ">>>" $@
$(CC) $(CFLAGS) $^ $(LDFLAGS) -Wl,-Map=PicoDrive.map -o $@
+pprof: pprof.c
+ $(CROSS)gcc -O2 -ggdb -DPPROF -DPPROF_TOOL -I../../ -I. $^ -o $@
+
%.o : %.asm
@echo ">>>" $<
nasm -f elf $< -o $@
%.o : %.asm
@echo ">>>" $<
nasm -f elf $< -o $@