ted@polyof.poly.edu (A1 ted kapela (staff) ) (09/07/90)
I just tried to use NDMAKE to create the PCCURSES library. (I know that there is a make utility included, but my question is about NDMAKE). In the makefile, several subdirectories are created (one for each model). The makefile then changes the current working directory to one of these subdirectories, and calls make -f ..\makefile.msc. My problem is that NDMAKE executes all DOS commands in separate subshells. Therefore, the directory for the current shell is never changed, since the directory is restored once the CD command (and the associated COMMAND.COM) is finished. I read the docs and tried using parenthesis to execute the whole group of rules in the same shell, but apparantly NDMAKE just passes the whole block (Parenthesis and all) to COMMAND.COM for processing, instead of creating a batch file as it is supposed to. As you know, COMMAND does not support this *nix style syntax. I then tried to use MS-Shell. That works, except that NDMAKE explicitly uses the \ character in the directory path for its temp files. MS-Shell chokes on this, thinking it should quote the next character. I tried everything I could think of, but I ran out of ideas and decided to ask for the net's help. I couldn't find anything in the docs to help, but if it is there, please point me in a direction. Otherwise, has anybody else tried this? Have they gotten it to work? I would appreciate any help you could give me. Thanx in advantz. -- ............................................................................... : Theodore S. Kapela : ted@polyof.poly.edu : : (516) 755-4299 [Voice, Days] : "Another brilliant mind : : (516) 473-7746 [FAX] : corrupted by education" : ...............................................................................