Problems in the makefile when switching from debian to freebsd (ifeq and endif)

1

I am using netbeans to compile some programs in C / C ++ it compiles remotely the codes on a debian (GNU) machine, everything works without problems problems, however I tried to compile the same project in 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 line 4 endif in all the places I use ifeq and endif I'm having these errors.

This Makefile is what I did and variable UID_DIR_LIB is usually not even passed except when 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?

    
asked by anonymous 07.12.2018 / 15:16

0 answers