Dear List:
 
    I am a beginner fjor Linux-C.
I wrote a Makefile as follows :
 
#!/bin/sh -x
depend :
<tab> make depend
 
And I ignore all the others like CFLAGS, clean: etc .  (they are supposed as default option of make )
Then I "make depend" ,but all I got is infinite loop of msg as follows:
                       enter workdir ................
                       leaving workdir .............
I can trace it even I add debug-option -x
Could you C-programmers give some advice ?
There must be some tool that can scan source file & generate a Makefile-skelton for Modification ,
Then I can use automake  for GPL-distribution.
 
 
BestRegards'
Henry

Reply via email to