X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2FMakefile;h=a01a529e429bffe851a720681a3d2702f7d9ec68;hb=2433f409129279095926eb00cf8ab429738f80dd;hp=0b8c37bd649c91adce7902ba7c401bae31fe76d9;hpb=a40308010482ca8674bb6ff8c7cf271098f2aebe;p=picodrive.git diff --git a/platform/linux/Makefile b/platform/linux/Makefile index 0b8c37b..a01a529 100644 --- a/platform/linux/Makefile +++ b/platform/linux/Makefile @@ -63,10 +63,11 @@ clean: tidy tidy: @$(RM) $(OBJS) @make -C ../../cpu/mz80/ clean + @make -C ../gp2x/helix/ X86=1 clean -PicoDrive : $(OBJS) +PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a @echo $@ - @$(GCC) $(COPT) $(OBJS) ../gp2x/helix/helix_mp3_x86.a $(LDFLAGS) -lm -Wl,-Map=PicoDrive.map -o $@ + @$(GCC) $(COPT) $^ $(LDFLAGS) -lm -Wl,-Map=PicoDrive.map -o $@ ../../cpu/mz80/mz80.o : ../../cpu/mz80/mz80.asm @@ -76,6 +77,9 @@ PicoDrive : $(OBJS) ../../cpu/mz80/mz80.asm : @make -C ../../cpu/mz80/ +../gp2x/helix/helix_mp3_x86.a: + @make -C ../gp2x/helix/ X86=1 clean all + .c.o: @echo $< @$(GCC) $(COPT) $(DEFINC) -c $< -o $@ @@ -86,7 +90,7 @@ PicoDrive : $(OBJS) ../../Pico/sound/ym2612.o : ../../Pico/sound/ym2612.c @echo $@ - @$(GCC) $(COPT_COMMON) $(DEFINC) -DEXTERNAL_YM2612 -c $< -o $@ # -mtune=arm940t + @$(GCC) $(COPT_COMMON) $(DEFINC) -c $< -o $@ # -mtune=arm940t -DEXTERNAL_YM2612 # faked asm ../../Pico/Draw.o : ../../Pico/Draw.c