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:
Eric Andersen
2001-02-17 00:42:47 +00:00
parent 69c8572f29
commit 19f86207f5
9 changed files with 166 additions and 84 deletions

View File

@@ -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' ' '

View File

@@ -1,2 +1,2 @@
#define USAGE_MESSAGES
#include <usage.h>
#include "usage.h"