misc makefile fixes
authorbrian <brian@brianweb.net>
Thu, 1 Jul 2004 01:03:53 +0000 (18:03 -0700)
committerbrian <brian@brianweb.net>
Thu, 1 Jul 2004 01:03:53 +0000 (18:03 -0700)
darcs-hash:20040701010353-24bed-b1c162f831bb190b02ccda784537ccf7e09a0a96.gz

Makefile

index 39e1f1d..c0eee65 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ export PATH
 #
 # General Build Stuff
 #
-all: $(java_classes) $(mips_objects)
+all: $(java_classes) $(tasks)/build_libc
 ifdef NATIVE_MIPS2JAVA_COMPILER
 all: build/mips2java$(EXE_EXT) $(mips_objects)
 endif
@@ -132,7 +132,7 @@ build/%.o: src/%.s $(tasks)/build_gcc
        @mkdir -p `dirname $@`
        $(MIPS_CC) -x assembler-with-cpp -c -o $@ $<
 
-tmp/%.s: %.c $(tasks)/build_gcc
+tmp/%.s: src/%.c $(tasks)/build_gcc
        @mkdir -p `dirname $@`
        $(MIPS_CC) $(MIPS_CFLAGS) $($(notdir $*)_CFLAGS) -c -S -o $@ $<