Hi,
I am trying to separate my code into multiple source files so that it can
be reused over and over. I am not yet overly familiar with GCC and the
structure of the Makefile. I have the entry in my all: section of:
int_module: int_test.c
gcc ${INCLUDE} ${CFLAGS} -c -o int_module int_test.c
I would like to break up int_test.c into
int_test.c, rt-pcdio.c, rt-pcdio.h, rt-pcl722.c, rt-pcl722.h , ...
Where int_test.c includes the header files of all other c files. How do I
modify the Makefile to do this?
Thanks,
John van Loon
[EMAIL PROTECTED]
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/