1
I am using netbeans to compile some programs in C/C++ it compiles the code remotely on a debian machine (GNU), everything works smoothly, but I tried to compile the same project on a freebsd that uses CLANG, I am having error:
make: "contrib/contrib/Makefile-Jenkins.mk" line 2: Missing dependency operator
make: "contrib/contrib/Makefile-Jenkins.mk" line 4: Need an operator
On line 2 I have the ifeq command and on line 4 endif at all sites I use ifeq and endif am having these mistakes.
This Makefile was I who made and UID_DIR_LIB variable is usually not even passed unless I compile the project by Jenkins.
ifeq ($(UID_DIR_LIB),)
UID_DIR_LIB := .
endif
Does anyone know how to fix to work on both platforms?
ifeq
is not POSIX, is a GNU-extension. You can installbmake
to check your Makefile. Here is a good link.– Ainar-G