I'm using make on Windows 8
C:\Users\<User>\Desktop\A\test_compile>make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for Windows32
This is my makefile
CPP_FILES := $(wildcard *.cpp)
OBJ_FILES := $(addprefix obj/,$(notdir $(CPP_FILES:.cpp=.o)))
LD_FLAGS := -o
all: $(patsubst %.cpp, %.o, $(wildcard *.cpp))
@echo MAKEFLAGS=$(MAKEFLAGS)
rm *.o
%.o: %.cpp
@echo MAKEFLAGS=$(MAKEFLAGS)
qcc.exe $(CC_FLAGS) $@ $<
Notice the @echo MAKEFLAGS=$(MAKEFLAGS)
line I added for debug.
When I run the makefile make all -j64
I do get parallel jobs - all my cores are active - but the echo MAKEFLAGS is:
MAKEFLAGS=-j 1
Why doesn't it say MAKEFLAGS=-j 64
?