home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!timbuk.cray.com!walter.cray.com!paws
- From: paws@spam.cray.com (Daniel Baehr)
- Subject: Help with if structures in makefile
- Message-ID: <1992Aug21.140244.12486@walter.cray.com>
- Sender: paws@spam (Daniel Baehr)
- Organization: Cray Research, Inc.
- Date: 21 Aug 92 14:02:44 CDT
- Lines: 23
-
-
- As the subject says I need help with if structures in a makefile.
- Below is the snippet if code I am wondering about.
-
- if [ \$host == "HERE" ]; then \
- VARIABLE=pathname ; \
- else VARIABLE=differentpathname ; \
- fi
-
- When I type make I get a Badley formed macro assignment against the
- second line. What am I doing wrong? This is running on a SUN 4.1.1.
-
-
-
- Thanks..
-
- Daniel Baehr
-
- --
- +------------------------------------------------------------------------+
- | Daniel Baehr Work: paws@spam.cray.com Home: daniel_baehr@bearsden.UUCP|
- | These OPINIONS are mine and mine alone. |
- +------------------------------------------------------------------------+
-