[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add -I to compile line?
From: |
Gary V . Vaughan |
Subject: |
Re: How to add -I to compile line? |
Date: |
Tue, 31 Jul 2001 19:32:47 +0100 |
Like this?
test -f "${GEMSTONE}/include/thingy.h" && \
CPPFLAGS="$CPPFLAGS -I${GEMSTONE}/include"
On Tuesday 31 July 2001 4:58 am, Thomas Gagne wrote:
> I was looking at the archives and discovered there wasn't a way to locally
> search them.
>
> I want to check for an include file in $GEMSTONE/include, and if its
> present add -I$(GEMSTONE)/include to the compile options. I then want to
> do the same for some SYBASE include files.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/