----- Original Message ----
From: hari krishna angadi <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, July 9, 2007 5:45:45 PM
Subject: problem with make file

hi all,
         i have wriiten a makefile which compliles two different modules and 
create one main object file. 
1> if i do make i should get hello1.ko,hello2.ko and combine.ko
2> then i can insmod combine.ko instead of doing insmod hello1.ko and insmod 
hello2.ko................
i have written Makefile

obj-m :=combine.o
module-objs :=hello1.o hello2.o
obj-m :=hello1.o hello2.o

all:
        make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules


clean:
        make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(PWD) clean
        rm -f Module*

but unable to get combine.ko 


can u send the error message 
and wats this last line for "rm -f Module*"




 Send instant messages to your online friends http://uk.messenger.yahoo.com 






      
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

Reply via email to