Date: Thu, 8 Aug 1996 11:37:41 +0200 (IST) From: Eli Zaretskii To: "Joel B. Black" 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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)