GAR makefile conditionals?



Has anyone done any work with coding some conditionals in the Makefile?

I'm guessing something like this might work:

OS=$(shell uname -s)
ifeq (SunOS,$OS)
# do specific solaris stuff
endif

Is this an appropriate way to deal with specific system configuration issues?

Thanks,

Ben




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]