Skip to content

Commit

Permalink
Makefile: use parallel by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xarantolus committed Feb 23, 2024
1 parent 88487fd commit e509c8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ ifneq ($(MOLD_INSTALLED),)
MOLD := mold -run
endif

# if no -j option is given, add it
ifeq (,$(findstring -j,$(MAKEFLAGS)))
MAKEFLAGS += -j
endif

EXE_SUFFIX:=
ifeq ($(OS),Windows_NT)
EXE_SUFFIX:=.exe
Expand Down

0 comments on commit e509c8b

Please sign in to comment.