summaryrefslogtreecommitdiffstats
path: root/tools/lguest/Makefile
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@gnu.org>2012-01-12 15:44:47 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 15:44:47 +1030
commit07fe9977b6234ede1bd29e10e0323e478860c871 (patch)
tree802e48e78503b82953b9ff415f882fb6edb05dbc /tools/lguest/Makefile
parent39082f7e5912cdc70f9ab0767e7342711f34b9f8 (diff)
lguest: move the lguest tool to the tools directory
This is a better location instead of having it in Documentation. Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (fixed compile)
Diffstat (limited to 'tools/lguest/Makefile')
-rw-r--r--tools/lguest/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/lguest/Makefile b/tools/lguest/Makefile
new file mode 100644
index 00000000000..0ac34206f7a
--- /dev/null
+++ b/tools/lguest/Makefile
@@ -0,0 +1,8 @@
+# This creates the demonstration utility "lguest" which runs a Linux guest.
+# Missing headers? Add "-I../../../include -I../../../arch/x86/include"
+CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE
+
+all: lguest
+
+clean:
+ rm -f lguest