CFLAGS += -Iinclude
-ifeq (${BUILD_ON_WINDOWS}, 1)
-ifeq (${CC}, gcc)
-#LDFLAGS += -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--out-implib=lib${PRG}.dll.a
-LDFLAGS += -Wl,--enable-auto-import
-LDFLAGS += -lm
-endif
-else
-LDFLAGS += -rdynamic
-LDFLAGS += -lm
-endif
-
ifeq ($(shell uname), Linux)
LDFLAGS += -lrt
endif
## Build
### Download the source
-You might just want the minimum to start with, try
+
``` sh
git clone https://github.com/Gwion/Gwion
cd Gwion
-git submodule update --init
+git submodule update --init --recursive util ast
make
```
Gwion relies on plugins for most of its language features, including all those that make sound. Plugins are located in the subdirectories of
`plug`. To get some sounds going under linux using jack sound server, you can build the plugins `Jack`, `Soundpipe`, and `Modules`.
+Start by downloading the sources
+```
+git submodule update plug
+cd plug
+```
+
Starting from the Gwion base directory, to build `Jack`:
```
cd plug/Jack