From a47b49b11d17add5ca1ea5e650d2f344219b4f7e Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Fri, 5 Feb 2016 15:24:42 -0500 Subject: 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.). --- coqprime/gencertif/Makefile | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 coqprime/gencertif/Makefile (limited to 'coqprime/gencertif/Makefile') 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 - - -- cgit v1.2.3