Hamburg (Germany), the 18th November 1997.
Written by Nils Pipenbrinck aka Submissive/Cubic & $eeN
Not everyone has WMAKE. And therefore I took a look at the compatibility issues of different MAKE utilities. Since I only have WMAKE (WATCOM) and MAKE (Borland) my chart is far from complete. But for a start it might work (Borland MAKE is very common, since almost everyone started with Turbo Pascal or TASM-coding).
There are not too many changes necessary to translate my style of makefiles into a Borland compatible makefile. Changes necessary are:
Borland doesn't know this command and doesn't have a replacement for it, but fortunately you can use the DOS internal ECHO command to simulate this instruction.
%write temp.lnk system dos4g %write temp.lnk file stuff.obj
translates into:
echo system dos4g > temp.lnk echo file stuff.obj >> temp.lnk
Problem: you can't write all characters, since dos might get confused if you write a / or the { } chars. This is a problem, and you can work around this if you use the for-statement:
for %%f in ($(objects)) do echo FILE %f >> temp.lnk
Have problems finding a work-around for another MAKE utility? (Microsoft, GNU-Make) Ask me, I might have an idea.
© by submissive