How to put shell script to Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux