summaryrefslogtreecommitdiff
path: root/tools/lguest/Makefile
blob: d04599a798025bdb006e5499d9097d290c213067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This creates the demonstration utility "lguest" which runs a Linux guest.
CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude

all: lguest

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

clean:
	rm -f lguest
	rm -rf include