2007-07-19 15:49:29 +07:00
|
|
|
# This creates the demonstration utility "lguest" which runs a Linux guest.
|
2015-02-11 11:45:11 +07:00
|
|
|
CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude
|
2007-07-19 15:49:29 +07:00
|
|
|
|
2007-10-22 08:03:26 +07:00
|
|
|
all: lguest
|
2007-07-19 15:49:29 +07:00
|
|
|
|
2015-02-11 11:45:11 +07:00
|
|
|
include/linux/virtio_types.h: ../../include/uapi/linux/virtio_types.h
|
|
|
|
mkdir -p include/linux 2>&1 || true
|
|
|
|
ln -sf ../../../../include/uapi/linux/virtio_types.h $@
|
|
|
|
|
|
|
|
lguest: include/linux/virtio_types.h
|
|
|
|
|
2007-07-19 15:49:29 +07:00
|
|
|
clean:
|
2007-10-22 08:03:26 +07:00
|
|
|
rm -f lguest
|