Rusty Russell | 8ca47e0 | 2007-07-19 01:49:29 -0700 | [diff] [blame] | 1 | # This creates the demonstration utility "lguest" which runs a Linux guest. |
Rusty Russell | 3e0e5f2 | 2015-02-11 15:15:11 +1030 | [diff] [blame] | 2 | CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude |
Rusty Russell | 8ca47e0 | 2007-07-19 01:49:29 -0700 | [diff] [blame] | 3 | |
Rusty Russell | 3c6b5bf | 2007-10-22 11:03:26 +1000 | [diff] [blame] | 4 | all: lguest |
Rusty Russell | 8ca47e0 | 2007-07-19 01:49:29 -0700 | [diff] [blame] | 5 | |
Rusty Russell | 3e0e5f2 | 2015-02-11 15:15:11 +1030 | [diff] [blame] | 6 | include/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 | |
| 10 | lguest: include/linux/virtio_types.h |
| 11 | |
Rusty Russell | 8ca47e0 | 2007-07-19 01:49:29 -0700 | [diff] [blame] | 12 | clean: |
Rusty Russell | 3c6b5bf | 2007-10-22 11:03:26 +1000 | [diff] [blame] | 13 | rm -f lguest |