-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.cfg
More file actions
36 lines (26 loc) · 1.02 KB
/
build.cfg
File metadata and controls
36 lines (26 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
###############################################################################
CFG_PATH:=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
BINDIR=bin
BUILDDIR=build
BLINK_FLAGS=-d 1k -P vq100
CLASH_FLAGS=-fconstraint-solver-iterations=0
###############################################################################
# https://haskellstack.org
STACK=stack
# https://www.haskell.org/cabal
CABAL=cabal
# https://github.com/clash-lang/clash-compiler
CLASH=clash
# https://github.com/reactive-systems/tsltools
TSL2TLSF=$(BINDIR)/tsl2tlsf
# https://github.com/reactive-systems/tsltools
CFM2CODE=$(BINDIR)/cfm2code
# https://strix.model.in.tum.de
SYNTH=$(BINDIR)/tlsf_strix_synth_cfm
###############################################################################
SOURCES = Add.tsl Sqroot.tsl Cube.tsl
TLSFFILES= $(patsubst %.tsl,%.tlsf,$(SOURCES))
HASKELLFILES= $(patsubst %.tsl,clash/src/%.hs,$(SOURCES))
CFMFILES= $(patsubst %.tsl,%.cfm,$(SOURCES))
LTLFILES = $(patsubst %.tsl,%.ltl,$(SOURCES))
JSONFILES = $(patsubst %.tsl,%.json,$(SOURCES))