Closed
Description
I have a multicore processor so I use make -j9
to benefit from GNU make parallelism.
But that fails with:
$ make -j2
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C build/gmake
if [ ! -d ./obj ]; then mkdir ./obj; fi
if [ ! -d ./obj ]; then mkdir ./obj; fi
mkdir: ./obj: File exists
gcc -g -pedantic -Wall -I ../../include -Wunused-parameter -D_DEBUG=1 -D_MSC_VER=1400 -o obj/access.o -c ../../src/access.c
make[1]: *** [obj/attrs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [bin/tidy] Error 2
The problem is that the Makefile tries to create a obj
directory before each compilation.
Using autoconf + automake would solve that problem and also #61, #79, #100, #116