I’m trying to compile a package „blackmagic“ (a microcontroller gdb debugging 
and flashing program addendum to gdb).

It has some issues like missing packages (libftdi1 - I was able to add that via 
macports)

Now I want to add some condional in the Makefile like this:

ifdef macOS

CFLAGS += -I/opt/local/include

endif

Only, macOS isn’t just the variable that works. Does macOS supply any built-in 
variable for building that if block?

Christoph



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to