Makefile missing for .c file. How to create
I have a forcedeth.c (ver 0.62) code that i need to compile against a running kernel, and there are no rpms that i know for my distro(centos 5.3) Usually there is a Makefile in the directory but not this time, there is only forcedeth.c file. I'm not sure how to creat a makefile so that i could do ./configure;make;make install
thanks in advance for help. |
The most basic Makefile would perhaps look something like (note, this is a home-made Makefile):
Code:
SRCS = forcedeth.c Btw, I am surprised that your kernel does not offer the forcedeth driver, since it appears that many modern Linux distros offer it with their kernels. Is it possible that your kernel has the source for 'forcedeth.c', but that it is not being built because of your kernel configuration? It would verify this first before proceeding down another path. |
This is the forcedeth Makefile, I found here
http://www.nvnews.net/vbulletin/showthread.php?t=96453 Code:
obj-m := forcedeth.o ..... |
All times are GMT -5. The time now is 04:27 PM. |