TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Henk den Adel
from: jari laaksonen
date: 1994-10-15 15:22:56
subject: MAKE files

> main.res: main.mak
>         linker commands >> main.res
>         etc.

> main.exe: main.obj sub1.obj etc. until subn.obj
>         wlink {at}main.res

> Unfortunately this DOS trick does not work with Watcoms WMAKE,
> Borlands MAKE nor IBM's NMAKE. By placing the .exe statement in front
> of the .obj statements, it works, however the response file is never
> updated. Linking fails since the .res file does not exist. If the .res
> part is placed in front of the .exe statement, the .res file is
> created, however nothing is compiled nor linked.

Maybe you should mention main.res in main.exe's dependencies:

main.exe: main.res main.obj sub1.obj etc. until subn.obj
         wlink {at}main.res

main.res: main.mak
         linker commands >> main.res

        // Albert

---


* Origin: Albert's Point/2 in Finland, Europe (2:221/360.20)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 221/360 0 220/841 201/2104 109/347 2 7 3615/50 229/2
@PATH: 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.