giz rc1 release
[picodrive.git] / platform / gp2x / code940 / Makefile
index a344e02..d8da163 100644 (file)
@@ -3,7 +3,7 @@
 #devkit_path = x:/stuff/dev/devkitgp2x/\r
 devkit_path = /usr/local/devkitPro/devkitGP2X/\r
 lgcc_path = $(devkit_path)lib/gcc/arm-linux/4.0.3/\r
-CROSS = arm-linux-\r
+export CROSS = arm-linux-\r
 #CROSS = $(devkit_path)bin/arm-linux-\r
 \r
 # settings\r
@@ -47,7 +47,7 @@ $(BIN) : code940.gpe
        @echo $@\r
        @$(OBJCOPY) -O binary $< $@\r
 \r
-code940.gpe : $(OBJS940) ../helix/helix_mp3.a\r
+code940.gpe : $(OBJS940) ../../common/helix/helix_mp3.a\r
        @echo $@\r
        @$(LD) -static -e code940 -Ttext 0x0 $^ -L$(lgcc_path) -lgcc -o $@ -Map code940.map\r
 \r
@@ -58,12 +58,12 @@ code940.gpe : $(OBJS940) ../helix/helix_mp3.a
 mix.o : ../../../Pico/sound/mix.s\r
        @echo $@\r
        @$(GCC) $(COPT) $(DEFINC) -DEXTERNAL_YM2612 -c $< -o $@\r
-misc.o : ../../../Pico/misc.s\r
+misc.o : ../../../Pico/Misc.s\r
        @echo $@\r
        @$(GCC) $(COPT) $(DEFINC) -DEXTERNAL_YM2612 -c $< -o $@\r
 \r
-../helix/helix_mp3.a:\r
-       @make -C ../helix/\r
+../../common/helix/helix_mp3.a:\r
+       @make -C ../../common/helix/\r
 \r
 \r
 up: $(BIN)\r