blob: a107b5e4da134121248445db0b48da733821cf34 [file] [log] [blame]
Rusty Russell8ca47e02007-07-19 01:49:29 -07001# This creates the demonstration utility "lguest" which runs a Linux guest.
Rusty Russell3e0e5f22015-02-11 15:15:11 +10302CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude
Rusty Russell8ca47e02007-07-19 01:49:29 -07003
Rusty Russell3c6b5bf2007-10-22 11:03:26 +10004all: lguest
Rusty Russell8ca47e02007-07-19 01:49:29 -07005
Rusty Russell3e0e5f22015-02-11 15:15:11 +10306include/linux/virtio_types.h: ../../include/uapi/linux/virtio_types.h
7 mkdir -p include/linux 2>&1 || true
8 ln -sf ../../../../include/uapi/linux/virtio_types.h $@
9
10lguest: include/linux/virtio_types.h
11
Rusty Russell8ca47e02007-07-19 01:49:29 -070012clean:
Rusty Russell3c6b5bf2007-10-22 11:03:26 +100013 rm -f lguest