aboutsummaryrefslogtreecommitdiff
path: root/coqprime/gencertif/Makefile
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2016-02-05 15:24:42 -0500
committerGravatar Jason Gross <jgross@mit.edu>2016-02-05 15:24:42 -0500
commita47b49b11d17add5ca1ea5e650d2f344219b4f7e (patch)
tree699bff16674a68d1a5dc059bfdbd2f9ca85e95a7 /coqprime/gencertif/Makefile
parent1f83ff39458ca80acf3192c938490cf4988b7489 (diff)
Update build process to use COQPATH & _CoqProject
Removed all of the files not built by default; they can be resurrected from git history. _CoqProject is the standard way to list the files in a project and to give information to coq_makefile. COQPATH is the standard way to make use of not-yet-installed libraries that are not part of your project (i.e., you don't want to remove them when you `make clean`, etc.).
Diffstat (limited to 'coqprime/gencertif/Makefile')
-rw-r--r--coqprime/gencertif/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/coqprime/gencertif/Makefile b/coqprime/gencertif/Makefile
deleted file mode 100644
index c7c062f8d..000000000
--- a/coqprime/gencertif/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-ECMDIR=/usr/lib/
-
-OPT=
-CC=gcc
-
-CFIRSTPRIMES=certif.c factorize.c firstprimes.c
-OFIRSTPRIMES=$(CFIRSTPRIMES:.c=.o)
-
-CPOCK=certif.c factorize.c pocklington.c
-
-OPOCK=$(CPOCK:.c=.o)
-
-pock: $(OPOCK)
- $(CC) -g -O2 -o pocklington $(OPOCK) -lecm -lgmp -lm
-
-first: $(OFIRSTPRIMES)
- $(CC) -g -O2 -o firstprimes $(OFIRSTPRIMES) -lecm -lgmp -lm
-
-all:
- make pock
- make first
- make o2v
-
-clean:
- rm -f *~ *.o pocklington firstprimes o2v
-
-
-.SUFFIXES: .v .vo .c .o
-
-.c.o:
- $(CC) -I$(GMPDIR) -I$(ECMDIR) -Wall -pedantic -c $<
-
-o2v: parser.ml
- ocamlc -o o2v nums.cma str.cma parser.ml
-
-