Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcuhb!hpsmtc1!swh From: swh@hpsmtc1.HP.COM (Steve Harrold) Newsgroups: comp.sys.ibm.pc Subject: Re: Unix-like global expansion in DOS Message-ID: <11470038@hpsmtc1.HP.COM> Date: 7 Nov 88 15:24:55 GMT References: <215@lcuxa.UUCP> Organization: Hewlett Packard, Cupertino Lines: 33 Re: Long DOS command lines in makefiles As stated earlier in this notestring, UNIX makefiles are hard to manage under MSDOS because the long command lines often encountered in UNIX get truncated by DOS to 128 characters. The work-around is to use manually created "response" files, but these are hard to keep in sync with various make macros such as the commonly used $(OBJS). There is a DOS make product named OPUS Professional Make that handles this automatically. When a command line to invoke "link", "lib" or any other user-designated program is longer than 128 characters (after macro substitution), the OPUS program creates a temporary response file and feeds THAT to the intended program. There is no special user involvement in using this "workaround"; he simply manages his makefiles as if they had infinitely long command lines. Another bonus is that a "mkmf" program is included that allows you to automatically generate the dependencies in the makefile, directly from the source files. Their address is: OPUS Software 1468 8th Ave. San Francisco, CA 94122 UUCP: ...ucbvax!ucsfcgl!kneller My only association with the product is that of a satisfied user. -- --------------------- Steve Harrold ...hplabs!hpsmtc1!swh HPG200/13 (408) 447-5580 ---------------------