Commit 0007e47c authored by Sergey Lyubka's avatar Sergey Lyubka

Build command re-worded

parent 4708cce8
...@@ -23,13 +23,11 @@ Here's a minimal application `app.c` that embeds mongoose: ...@@ -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 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 cc app.c mongoose.c -o app # on Unix
cl app.c mongoose.c /TC /MD # on Windows
If you're on Windows, run this in a Visual Studio shell:
cl app.c mongoose.c /TC /MD
When run, this simple application opens port 8080 and serves static files, When run, this simple application opens port 8080 and serves static files,
CGI files and lists directory content in the current working directory. CGI files and lists directory content in the current working directory.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment