#drc_debug_interp = 1
#profile = 1
+all: mkdirs PicoDrive
+
-include Makefile.local
ifndef ARCH
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
DIRS += platform/linux zlib unzip
-all: mkdirs PicoDrive
-
include ../common/common.mak
include ../common/revision.mak
@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 $@