automatic multicore compilation

This commit is contained in:
Steve Schnepp 2023-09-01 21:22:19 +02:00 committed by Gwenhael Le Moine
parent 39f2385b8d
commit 6a3617b960
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -11,6 +11,8 @@ VERSION_MINOR = 12
PATCHLEVEL = 1 PATCHLEVEL = 1
COMPILE_VERSION = 0 COMPILE_VERSION = 0
MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES)
CC = gcc CC = gcc
CFLAGS = -g -O2 -I./src/ -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DPATCHLEVEL=$(PATCHLEVEL) -DCOMPILE_VERSION=$(COMPILE_VERSION) CFLAGS = -g -O2 -I./src/ -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DPATCHLEVEL=$(PATCHLEVEL) -DCOMPILE_VERSION=$(COMPILE_VERSION)