diff options
Diffstat (limited to '')
| -rw-r--r-- | alsause/Makefile | 3 | ||||
| -rwxr-xr-x | git/new-c-proj | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/alsause/Makefile b/alsause/Makefile index 259333b..d0e39be 100644 --- a/alsause/Makefile +++ b/alsause/Makefile @@ -2,8 +2,7 @@ install: ../check-installed-shebang dalsause - ../check-installed dmenu - ../check-in-path tr sed cut echo + ../check-in-path dmenu tr sed cut echo mkdir -p -- ~/.local/bin test ! -e ~/.local/bin/dalsause || test -L ~/.local/bin/dalsause ln -sf -- ~/.dotfiles/alsause/dalsause ~/.local/bin/dalsause diff --git a/git/new-c-proj b/git/new-c-proj index dfd00f9..503bdf9 100755 --- a/git/new-c-proj +++ b/git/new-c-proj @@ -39,7 +39,9 @@ cat > .gitignore <<EOF *~ *.o *.a +*.t *.lo +*.to *.su *.so *.so.* @@ -54,6 +56,8 @@ EOF mkdir -p -- .git/info printf '%s\n' '_*' '._*' '.hidden' '.makeenv' >> .git/info/exclude +printf '%s\n' 'MAKEENV_OPTS_OPT_ATTACHED_ARG = j' 'CC = gcc-extreme -std=c99' >> .makeenv + if printf '%s\n' "$1" | grep '^lib' >/dev/null 2>/dev/null; then UPPERCASE="$(printf '%s\n' "$1" | tr '[a-z-]' '[A-Z_]')" LIBNAME="$(printf '%s\n' "$1" | sed 's/^lib//')" |
