X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2FMakefile;h=9a8f3df81d7b227dd9145b3c77ebda50c667989d;hb=01bc6b19934c89aef5a4def364b8eb61aae3f199;hp=88d873547c32a2a318ed7b0c318fc60d4381c79c;hpb=0a051f558c6585c94d06dbe670e70bcac4e0aadd;p=picodrive.git diff --git a/platform/linux/Makefile b/platform/linux/Makefile index 88d8735..9a8f3df 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 -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 $@