uniplot/build.ss
Dimitri Lozeve 6282e80f50 Update build options
- optimized build
- remove options with good default values (static is deprecated,
  optimize is #t by default)
- lower debug level
2023-09-08 17:49:23 +02:00

28 lines
508 B
Scheme
Executable file

#!/usr/bin/env gxi
(import :std/make)
(def lib-build-spec
'("uniplot/braille"
"uniplot/lineplot"))
(def bin-build-spec
'((optimized-exe: "uniplot")))
(def srcdir
(path-normalize (path-directory (this-source-file))))
(def (main . args)
(match args
(["lib"]
(make srcdir: srcdir
debug: 'env
lib-build-spec))
(["bin"]
(make srcdir: srcdir
debug: #f
build-deps: "build-deps-bin"
bin-build-spec))
([]
(main "lib")
(main "bin"))))