Hi all, I've developed an LKM for kernel 2.4 and now I'm porting it in 2.6. The Makefile contains the following lines: ${OBJ}: ${TARGET1}.o ${TARGET2}.o ${TARGET3}.o ${TARGET4}.o $(LD) -r $^ -o $@ ${TARGET4}.o: ${TARGET4}.h ${TARGET4}.h: ${PERLSYMBOLS} ${SYSTEMMAP} ${PERLSYMBOLS} ${SYSTEMMAP} the goal of these lines is to compile the header file ${TARGET4}.h before compile the object file ${TARGET4}.o In 2.6, it doesn't work. How can I do this? Thanks. Vincenzo Mallozzi. ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/