[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[rtl] Basic Makefile question to produce a rtl module
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
john.vanloon@oregonchain.com
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/