Use all available threads to compile.
This commit is contained in:
parent
02bea0492a
commit
eb5fbb8824
3
makefile
3
makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue