]> git.proxmox.com Git - mirror_qemu.git/blobdiff - Makefile.target
Syncing documentation vs. -help vs. qemu_options table
[mirror_qemu.git] / Makefile.target
index 41366ee8d6327a03baf2cef6d1074db44e885142..f3f4738f8c77b27b0ac4cacaec2d187ff913c2ba 100644 (file)
@@ -729,6 +729,8 @@ LDFLAGS+=-p
 main.o: CFLAGS+=-p
 endif
 
+vl.o: qemu-options.h
+
 $(QEMU_PROG): LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS)
 
 $(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a
@@ -744,8 +746,11 @@ else
        $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)
 endif
 
+qemu-options.h: $(SRC_PATH)/qemu-options.hx
+       sh ../hxtool -h < $< > $@
+
 clean:
-       rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o
+       rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h
        rm -f *.d */*.d tcg/*.o
 
 install: all