How to put shell script to Makefile

Gavin Li gavinl at optech.ca
Fri Dec 2 21:07:10 UTC 2005


I have a script like this:

 

KNL_VER=2.6.9

 

echo ${KNL_VER) | cut -c -3

if [ $? == "2.6"] ; then

            Make -f Makefile

else

            Make -f Makefile-2.4

endif

 

How can I put in make file?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051202/7c50bc97/attachment-0001.htm>


More information about the fedora-list mailing list