-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
54 lines (36 loc) · 1.18 KB
/
Makefile.am
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright (c) 2018 the libgoldilocks contributors.
# Released under the MIT License. See LICENSE.txt for license information.
include $(top_srcdir)/variables.am
SUBDIRS = src test pkgconfig
ACLOCAL_AMFLAGS = -I m4
.PHONY: gen_code test_ct todo lib sage sage-test all clean test bench microbench
ci: test mem-check
all-lib:
$(MAKE) all -f $(top_srcdir)/Makefile.custom
gen-code:
$(MAKE) gen_code -f $(top_srcdir)/Makefile.custom
todo:
$(MAKE) todo -f $(top_srcdir)/Makefile.custom
sage:
$(MAKE) sage -f $(top_srcdir)/Makefile.custom
sage-test:
$(MAKE) sagetest -f $(top_srcdir)/Makefile.custom
lib:
$(MAKE) lib -f $(top_srcdir)/Makefile.custom
clean-scan:
$(MAKE) clean -f $(top_srcdir)/Makefile.custom
clean-generated:
$(MAKE) clean_generated -f $(top_srcdir)/Makefile.custom
test:
$(MAKE) test -f $(top_srcdir)/Makefile.custom
bench:
$(MAKE) bench -f $(top_srcdir)/Makefile.custom
microbench:
$(MAKE) microbench -f $(top_srcdir)/Makefile.custom
# NB: you must compile with XCFLAGS=-DNDEBUG or you will get lots of extra warnings due to assert(stuff).
mem-check:
$(MAKE) mem-check -f $(top_srcdir)/Makefile.custom
clean-hard:
git clean -d -x -f
splint:
splint src/*.{c,h}