Mail Archives: djgpp/1996/08/08/04:43:03
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 -