Eric Andersen | b09c6b5 | 1999-10-06 05:21:54 +0000 | [diff] [blame] | 1 | #!/bin/sh |
Erik Andersen | 6273f65 | 2000-03-17 01:12:41 +0000 | [diff] [blame] | 2 | |
| 3 | # I added in the extra "ls" so only source files that |
| 4 | # actually exist will show up in the compile list. |
| 5 | ls -1 ` \ |
Eric Andersen | caffb6e | 2000-09-25 21:28:07 +0000 | [diff] [blame^] | 6 | gcc -E -dM Config.h | \ |
Erik Andersen | 6273f65 | 2000-03-17 01:12:41 +0000 | [diff] [blame] | 7 | sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ |
Eric Andersen | 1b355eb | 2000-09-05 17:37:48 +0000 | [diff] [blame] | 8 | | tr '[:upper:]' '[:lower:]' | sort |
Erik Andersen | 6273f65 | 2000-03-17 01:12:41 +0000 | [diff] [blame] | 9 | ` 2>/dev/null | sed -e 's/\.c$/\.o/g' |
| 10 | |