From: Jérémie Astor Date: Thu, 11 Mar 2021 02:27:19 +0000 (+0100) Subject: :wrench: Windows things X-Git-Tag: nightly~886 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=eea26f11d1d9944f43b98fa73036e9a23475e185;p=gwion.git :wrench: Windows things --- diff --git a/Makefile b/Makefile index fa0ccc4b..7988148f 100644 --- a/Makefile +++ b/Makefile @@ -41,17 +41,6 @@ lib_obj := $(filter-out src/main.o, ${src_obj}) 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 diff --git a/README.md b/README.md index d7bcb250..8d4b9c81 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ It aims to be simple, small, ## 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 ``` @@ -86,6 +86,12 @@ _This section is currently very Linux-centric. We are working to improve that. P 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 diff --git a/util b/util index fbddb43e..4015b0ce 160000 --- a/util +++ b/util @@ -1 +1 @@ -Subproject commit fbddb43e8e853cee789e60c13487d53d55ee4498 +Subproject commit 4015b0ce51e899befdf8dd049f13cdbee2f85f57