提交 2d80ae89 编写于 作者: B bellard

avoid problems if make clean was not made before updating


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@370 c046a42c-6fe2-441c-8c8c-71466251a162
上级 17383a2a
...@@ -21,13 +21,15 @@ dyngen: dyngen.o ...@@ -21,13 +21,15 @@ dyngen: dyngen.o
$(HOST_CC) $(CFLAGS) $(DEFINES) -c -o $@ $< $(HOST_CC) $(CFLAGS) $(DEFINES) -c -o $@ $<
clean: clean:
# avoid old build problems by removing potentially incorrect old files
rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
rm -f *.o *.a $(TOOLS) dyngen TAGS rm -f *.o *.a $(TOOLS) dyngen TAGS
for d in $(TARGET_DIRS); do \ for d in $(TARGET_DIRS); do \
make -C $$d $@ || exit 1 ; \ make -C $$d $@ || exit 1 ; \
done done
distclean: clean distclean: clean
rm -f config-host.mak config-host.h config.mak config.h rm -f config-host.mak config-host.h
for d in $(TARGET_DIRS); do \ for d in $(TARGET_DIRS); do \
rm -f $$d/config.h $$d/config.mak || exit 1 ; \ rm -f $$d/config.h $$d/config.mak || exit 1 ; \
done done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册