From: brian Date: Thu, 1 Jul 2004 01:03:53 +0000 (-0700) Subject: misc makefile fixes X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=commitdiff_plain;h=7af2bb67c8d76507ecd9ad2f29008101e7e907f9;hp=4923e9ffc2a26cec420a1a2af7cd4dc6fbc5c4a6 misc makefile fixes darcs-hash:20040701010353-24bed-b1c162f831bb190b02ccda784537ccf7e09a0a96.gz --- diff --git a/Makefile b/Makefile index 39e1f1d..c0eee65 100644 --- 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 $@ $<