X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2FMakefile;h=12cb4a29ad40372f52646bafc7105c0e2fb6d140;hb=bd1806ca3217f25ce1c0cf6c24894a3066c7e3f8;hp=3380ae9ab1f1b2be77c3686e76003694770b2a28;hpb=c7a4ff64287b12487c7e9cc13ce3b7d2aa6e1f06;p=libpicofe.git diff --git a/linux/Makefile b/linux/Makefile index 3380ae9..12cb4a2 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -4,7 +4,7 @@ dprint = 1 # profile = 1 -DEFINC = -I../.. -I. -D__GP2X__ -D_UNZIP_SUPPORT # -DBENCHMARK +DEFINC = -I../.. -I. -D__GP2X__ -D_UNZIP_SUPPORT -DIO_STATS # -DBENCHMARK GCC = gcc STRIP = strip AS = gcc @@ -25,7 +25,7 @@ LDFLAGS += `pkg-config --libs gthread-2.0` # frontend OBJS += ../gp2x/main.o ../gp2x/menu.o ../gp2x/emu.o ../gp2x/usbjoy.o blit.o \ - gp2x.o 940ctl_ym2612.o + gp2x.o 940ctl_ym2612.o log_io.o # common OBJS += ../common/menu.o ../common/fonts.o ../common/readpng.o @@ -56,9 +56,7 @@ OBJS += ../../cpu/mz80/mz80.o # faked asm #DEFINC += -D_ASM_DRAW_C -#DEFINC += -D_ASM_MEMORY_C -#DEFINC += -D_ASM_YM2612_C -OBJS += fakedasm.o +#OBJS += fakedasm.o all: PicoDrive @@ -74,6 +72,9 @@ PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a @$(GCC) $(COPT) $^ $(LDFLAGS) -lm -lpng -Wl,-Map=PicoDrive.map -o $@ +../../cpu/musashi/m68kops.c : + @make -C ../../cpu/musashi + ../../cpu/mz80/mz80.o : ../../cpu/mz80/mz80.asm @echo $@ @nasm -f elf $< -o $@ @@ -97,7 +98,7 @@ PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a @$(GCC) $(COPT_COMMON) $(DEFINC) -c $< -o $@ # -mtune=arm940t -DEXTERNAL_YM2612 # faked asm -../../Pico/Draw.o : ../../Pico/Draw.c - @echo $< - @$(GCC) $(COPT) $(DEFINC) -D_ASM_DRAW_C -c $< -o $@ +#../../Pico/Draw.o : ../../Pico/Draw.c +# @echo $< +# @$(GCC) $(COPT) $(DEFINC) -D_ASM_DRAW_C -c $< -o $@