Use all available threads to compile.

This commit is contained in:
Steve 2019-04-08 11:34:06 +01:00
parent 02bea0492a
commit eb5fbb8824
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ _OBJS += unixInit.o
include common.mk
NPROCS = $(shell grep -c 'processor' /proc/cpuinfo)
MAKEFLAGS += -j$(NPROCS)
CXXFLAGS += `sdl2-config --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\"
CXXFLAGS += -ansi -pedantic
CXXFLAGS += -g -lefence