Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!stat!naras From: naras@stat.fsu.edu (B. Narasimhan) Newsgroups: comp.sys.ibm.pc Subject: Need help with Microsoft Make. Message-ID: <809@stat.fsu.edu> Date: 12 Mar 90 21:07:27 GMT Reply-To: naras@stat.fsu.edu (B. Narasimhan) Distribution: usa Organization: Dept. of Statistics, Florida State Univ. Lines: 33 I am a little familiar with make on our Sun, but the one with with Microsoft C is driving me nuts. Here's what I am trying to do. I have a library that is made up of some 50 files, all fortran programs. I need them all compiled with my batch command which I call `f' and added to my library `mylib.lib' using `LIB'. I did the following. I made an inference rule .for.obj: f $* Then I listed the various names of the files as follows file1.obj: file1.for file2.obj: file2.for and finally I added a line mylib.lib: lib $** ; ( I am aware that the last line is a problem since I need to put `+'s to add modules.) Question 1) Is there a good way to do this? Question 2) How may I use wildcard characters to refer to the filenames? Question 3) Is there a way to automatically include the `+' signs for LIB? Thanks in advance for your replies. -B. Narasimhan naras@stat.fsu.edu