diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-09-21 14:15:57 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-09-21 14:37:38 +0200 |
commit | ab0d9476db875a82cf293623d18552b62f239d5c (patch) | |
tree | c6c121933c1b536f03f5b8386f8b351c315763d8 /test | |
parent | b525fbe0915931a939d5851b511ce46fcf026236 (diff) | |
download | compcert-kvx-ab0d9476db875a82cf293623d18552b62f239d5c.tar.gz compcert-kvx-ab0d9476db875a82cf293623d18552b62f239d5c.zip |
Support the use of already-installed MenhirLib and Flocq libraries
configure flags -use-external-Flocq and -use external-MenhirLib.
Diffstat (limited to 'test')
-rw-r--r-- | test/clightgen/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/clightgen/Makefile b/test/clightgen/Makefile index bf4a044b..fdfbc3fb 100644 --- a/test/clightgen/Makefile +++ b/test/clightgen/Makefile @@ -5,8 +5,12 @@ ARCHDIRS=$(ARCH) else ARCHDIRS=$(ARCH)_$(BITSIZE) $(ARCH) endif -RECDIRS=lib common $(ARCHDIRS) cfrontend flocq exportclight -COQINCLUDES=$(foreach d, $(RECDIRS), -R ../../$(d) compcert.$(d)) +RECDIRS := lib common $(ARCHDIRS) cfrontend exportclight +COQINCLUDES := $(foreach d, $(RECDIRS), -R ../../$(d) compcert.$(d)) +ifeq ($(LIBRARY_FLOCQ),local) +COQINCLUDES += -R ../../flocq Flocq +endif + CLIGHTGEN=../../clightgen COQC=coqc |