X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2FMakefile;h=9a8f3df81d7b227dd9145b3c77ebda50c667989d;hb=17fa1e44f6759e1060af69b9d3a452a89554f87b;hp=88d873547c32a2a318ed7b0c318fc60d4381c79c;hpb=5f9922e6c2c69cb940e70f1d108aac2c3d0b01d7;p=libpicofe.git diff --git a/linux/Makefile b/linux/Makefile index 88d8735..9a8f3df 100644 --- a/linux/Makefile +++ b/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 $@