Parallelized compilation

This commit is contained in:
2022-11-03 13:13:18 +01:00
parent 94f0118cb1
commit 4ea1bd572a
2 changed files with 8 additions and 8 deletions

2
Toy

Submodule Toy updated: 6c5d952c44...632ed7c089

View File

@@ -4,7 +4,7 @@ export TOY_OUTDIR = ../$(LIBDIR)
export CORE_OUTDIR = ../$(LIBDIR)
all: $(OUTDIR) $(LIBDIR) toy core
$(MAKE) -C source
$(MAKE) -j8 -C source
ifeq ($(findstring CYGWIN, $(shell uname)),CYGWIN)
cp $(LIBDIR)/*.dll $(OUTDIR)
else ifeq ($(shell uname),Linux)
@@ -13,15 +13,15 @@ else ifeq ($(OS),Windows_NT)
cp $(LIBDIR)/*.dll $(OUTDIR)
endif
toy: $(LIBDIR)
$(MAKE) -C Toy/source
core: $(LIBDIR)
$(MAKE) -C core
test: clean $(OUTDIR) toy core
$(MAKE) -C test
toy: $(LIBDIR)
$(MAKE) -j8 -C Toy/source
core: $(LIBDIR)
$(MAKE) -j8 -C core
$(OUTDIR):
mkdir $(OUTDIR)