From 0007e47c075214b25910e9c9370a0ae55a3b7e75 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sun, 22 Dec 2013 08:27:02 +0000 Subject: [PATCH] Build command re-worded --- docs/Embed.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/Embed.md b/docs/Embed.md index 4dd8db44..f599ca6b 100644 --- a/docs/Embed.md +++ b/docs/Embed.md @@ -23,13 +23,11 @@ Here's a minimal application `app.c` that embeds mongoose: } To compile it, put `mongoose.c`, `mongoose.h` and `minimal.c` into one -folder, then run the following UNIX command: +folder, start terminal on UNIX or Visual Studio command line prompt on Windows, +and run the following command: - cc app.c mongoose.c -o app - -If you're on Windows, run this in a Visual Studio shell: - - cl app.c mongoose.c /TC /MD + cc app.c mongoose.c -o app # on Unix + cl app.c mongoose.c /TC /MD # on Windows When run, this simple application opens port 8080 and serves static files, CGI files and lists directory content in the current working directory.