This particular change would be useful in the lib directories. Instead of using this: SOURCES=memset.c strcmp.c ..... etc. Use this: SOURCES := $(wildcard *.c) Note the use of ':=', not '='. This will pick up ALL .c files in the current directory. (...) (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.legos)
|