Makefile 425 B

123456789101112131415
  1. # This creates the demonstration utility "lguest" which runs a Linux guest.
  2. CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude
  3. all: lguest
  4. include/linux/virtio_types.h: ../../include/uapi/linux/virtio_types.h
  5. mkdir -p include/linux 2>&1 || true
  6. ln -sf ../../../../include/uapi/linux/virtio_types.h $@
  7. lguest: include/linux/virtio_types.h
  8. clean:
  9. rm -f lguest
  10. rm -rf include