On 8/12/05, Paul D. Smith <[EMAIL PROTECTED]> wrote: > Try putting the boilerplate stuff in another file and using "include".
Here's an example of what I use for my 8-bit AVR projects: TARGET = Simple-Servo COMMON_OBJS = a2d_8.o Delay.o UART.o Hardware.o include ../Rules.mk If you want to view the Rules.mk file, you can find it over here: <http://svn.rungie.com/websvn/filedetails.php?repname=Buildroot&path=%2Fbranches%2Fprojects%2Frobostix%2FRules.mk&rev=0&sc=0> If you're prompted for a username/password, just use the word gumstix for both. This particular Makefile assumes that $(TARGET).o will be a target as well. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
