Commit 3e8eb618 authored by Matthias Braun's avatar Matthias Braun
Browse files

little helper script to easy creation of the file list

[r17712]
parent de1b0c8d
#!/bin/bash
#
# Little helper script used to create the file list for Makefile.am
# automatically
DIRS="adt ana arch be common config debug external ident ir libcore lower net obstack opt stat tr tv"
echo "libfirm_la_SOURCES = \\" > FILELIST
for dir in $DIRS; do
for f in $dir/*.c; do
echo -e "\t$f \\" >> FILELIST
done
done
echo "" >> FILELIST
echo "EXTRA_DIST = \\" >> FILELIST
FILES=`find $DIRS -maxdepth 1 -name "*.h" -o -name "*.def" -o -name "*.sh"`
for f in $FILES; do
echo -e "\t$f \\" >> FILELIST
done
for f in be/scripts/*.pl; do
echo -e "\t$f \\" >> FILELIST
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment