Update the build system for pristine source directory builds. This
update is primarily work done by Larry Doolittle, but I did some touchups of my own to make it work for me, -Erik
This commit is contained in:
@@ -7,7 +7,7 @@ RAW=` \
|
||||
`
|
||||
test "${RAW}" != "" || exit
|
||||
cd ${2:-.}
|
||||
# I added in the extra "ls" so only source files that
|
||||
# actually exist will show up in the compile list.
|
||||
ls -1 $RAW 2>/dev/null | sed -e 's/\.c$/\.o/g'
|
||||
# By running $RAW through "ls", we avoid listing
|
||||
# source files that don't exist.
|
||||
ls $RAW 2>/dev/null | tr '\n' ' '
|
||||
|
||||
|
@@ -1,2 +1,2 @@
|
||||
#define USAGE_MESSAGES
|
||||
#include <usage.h>
|
||||
#include "usage.h"
|
||||
|
Reference in New Issue
Block a user