diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-19 21:22:41 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-19 21:22:41 +0200 |
commit | 605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa (patch) | |
tree | b3c7a166f33d9d1ff35cbc1ede202dd89903e81e /Makefile.config | |
parent | 780f056e61323a41abcaf0dd53a44f99bcac197c (diff) | |
download | AGH-engineering-thesis-605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa.tar.gz AGH-engineering-thesis-605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa.zip |
initial work towards translating wasm to stack machine (with a provisional bench)
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.config b/Makefile.config index 5c619c3..a67e9f1 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,5 +1,14 @@ +# Uncomment this line when needed +#DEBUG=1 + CC = gcc -CFLAGS = -std=c89 -pedantic -Wall -Werror -O2 +CFLAGS = -std=c99 -pedantic -Wall -Werror -O2 + +ifdef DEBUG +CFLAGS += -O0 -g +else +CFLAGS += -O2 +endif IV = iverilog @@ -8,9 +17,8 @@ PNR = git-nextpnr-ice40 ICEPACK = git-icepack ICETIME = git-icetime +WAT2WASM = wat2wasm + TOPMODULE = soc PCF = design/pins.pcf - -# Uncomment this line when needed -#DEBUG=1 |