delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/04:43:03

Date: Thu, 8 Aug 1996 11:37:41 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Joel B. Black" <ks4aw AT stiletto DOT acadian DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: Beginner - Need Makefile Help - makefile (1/1)
In-Reply-To: <4ubs44$l8r@pump.acadian.net>
Message-Id: <Pine.SUN.3.91.960808113318.19168n-100000@is>
Mime-Version: 1.0

This Makefile was written for Borland's Make, it uses their specific 
directives like !if and !elif.  You didn't tell why do you need help with 
it, but if the problem is that DJGPP Make won't grok this Makefile, then 
the excerpt from an old DJGPP v1 FAQ below might help:

         use Make from any Turbo compiler instead.  If you
         want to convert to GNU Make, then here is a list of major
         differences:

           * Borland Make doesn't insist that commands in the rules start
             with a TAB (it can be blanks); GNU Make barfs on command
             lines which start with blanks.

           * The syntax for conditional directives is different:

             Borland syntax            GNU syntax
             -------------------------------------------------------
             !include "file"           include file
             !else                     else
             !endif                    endif
             !undef symbol               -
             !error "string"             -
             !if expression              - (use ifeq/ifneq or ifdef)
             !if $d(symbol)            ifdef symbol
             !if !$d(symbol)           ifndef symbol
             !elif                       - (use else and ifeq/ifneq)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019