Skip to content
Snippets Groups Projects
Commit 9f1d62d6 authored by Thorsten Wißmann's avatar Thorsten Wißmann
Browse files

Do not unnecessarily call make itself from make

This also makes the PARALLEL flag unnecessary. To do parallel build just
pass -j4 directly to make.
parent 7aa620ce
Branches
No related tags found
No related merge requests found
......@@ -19,10 +19,6 @@ NATIVE := true
# If defined, the dependencies will be updated automatically.
CHECKDEP := 1
# If defined, it indicates the number of cores
# that make should use (e.g. -j2 for two cores).
PARALLEL := -j2
# The projects which will be compiled if "make all" is used.
PROGS := coalg coalgcompare
......@@ -59,8 +55,7 @@ LIBSMLI := $(patsubst %.mli,%.cmi,$(SOURCESMLI))
LIBSML := $(patsubst %.ml,%$(SUFFIX),$(SOURCESML))
.PHONY: all
all:
$(MAKE) $(PARALLEL) $(PROGS)
all: $(PROGS)
minisat.cma: minisat.cmo minisat_stub.o
$(OCAMLC) -a -o minisat.cma minisat.cmo minisat_stub.o -custom -cclib -lminisat
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment