aboutsummaryrefslogtreecommitdiff
path: root/snag/configure
diff options
context:
space:
mode:
Diffstat (limited to 'snag/configure')
-rwxr-xr-xsnag/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/snag/configure b/snag/configure
index ca3c638..bf45373 100755
--- a/snag/configure
+++ b/snag/configure
@@ -33,7 +33,7 @@ for target in $(echo "debug release"); do
write ' description = CC $out'
write " command = gcc -MD -MF \$out.d \$cflags_$target -c \$in -o \$out"
- files="$(find . -name '*.c')"
+ files="$(find . -name '*.c' -not -path "./var/*")"
sedstr=$(printf 's,^\./src/\(.*\)\.c$,%s\/%s\/\\1.o,g' $builddir $target)
ofiles=$(echo "$files" | sed $sedstr)