2007-07-19 16:49:29 +08:00
|
|
|
# This creates the demonstration utility "lguest" which runs a Linux guest.
|
2015-02-11 12:45:11 +08:00
|
|
|
CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude
|
2007-07-19 16:49:29 +08:00
|
|
|
|
2007-10-22 09:03:26 +08:00
|
|
|
all: lguest
|
2007-07-19 16:49:29 +08:00
|
|
|
|
2015-02-11 12:45:11 +08: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 16:49:29 +08:00
|
|
|
clean:
|
2007-10-22 09:03:26 +08:00
|
|
|
rm -f lguest
|