26 lines
637 B
Text
26 lines
637 B
Text
|
Convenience test target
|
||
|
|
||
|
Index: Makefile
|
||
|
--- Makefile.orig
|
||
|
+++ Makefile
|
||
|
@@ -226,7 +226,7 @@ runtime:
|
||
|
|
||
|
FORCE:
|
||
|
|
||
|
-.PHONY: proof extraction runtime FORCE
|
||
|
+.PHONY: proof extraction runtime test FORCE
|
||
|
|
||
|
documentation: $(FILES)
|
||
|
mkdir -p doc/html
|
||
|
@@ -333,6 +333,10 @@ ifeq ($(INSTALL_COQDEV),true)
|
||
|
install -m 0644 ./compcert.config $(DESTDIR)$(COQDEVDIR)
|
||
|
@(echo "To use, pass the following to coq_makefile or add the following to _CoqProject:"; echo "-R $(COQDEVDIR) compcert") > $(DESTDIR)$(COQDEVDIR)/README
|
||
|
endif
|
||
|
+
|
||
|
+test:
|
||
|
+ env CCOMPOPTS=-Wl,-z,notext $(MAKE) -C test
|
||
|
+ env CCOMPOPTS=-Wl,-z,notext $(MAKE) -C test test
|
||
|
|
||
|
|
||
|
clean:
|