Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

"shell" in Makefile

From: Easthope <peasthope(at)cablelan.net>
Date: Sun Jun 24 2007 - 12:40:40 EDT


Debian users,

In

http://git.kernel.org/?p=linux/kernel/git/linville/wireless-dev.git;a= summary

Vivek described a makefile containing this text.

obj-m := hello.o
KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd)
default:

    $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

shell is not a command in the Etch here.

So what is "shell uname -r" and "shell pwd"? Why not just $(uname -r) and $(pwd)?

Do you need help?X

Thanks, ... Peter E. Received on Sun Jun 24 12:58:36 2007

This archive was generated by hypermail 2.1.8 : Sun Jun 24 2007 - 13:00:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library