LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Makefile

[ILUG] Makefile

keith hyland keith at iol.ie
Thu Jul 21 18:43:27 IST 2011


looking for some help here with a makefile.    when i run make i get:

"make: Nothing to be done for `default'."

in the folder there is the makefile (below) and the C source code. I'm
using a fairly recent Linux Mint 11 (katya) install on an Acer 8371G
and the purpose of the code is to switch off the ATI graphics adapter
and let the thing run with the low-power integrated Intel.

I copied and pasted the hack from
http://ubuntuforums.org/archive/index.php/t-1242590.html and it "made"
& ran quite well under Mint 9

i have the standard development files installed; make, binutils,
build-essential, gcc, linux-headers, etc. - am i missing something?


makefile:

ifneq ($(KERNELRELEASE),)
obj-m := lenovo_acpi.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) $(EXTRA_FLAGS) modules

clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) $(EXTRA_FLAGS) clean

endif

/makefile


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell