view bin/make-targets.sh @ 583:0dee1fcf3292

STUB: .bashrc
author Jeff Hammel <k0scist@gmail.com>
date Wed, 22 Jan 2014 13:12:00 -0800
parents 71345f4de3ce
children d4403d13fb31
line wrap: on
line source

#!/bin/bash
# list makefile targets
make -pn | grep '^ *[^#].*:.*' | sed 's/\([^:]+\):.*/\1/' | sort | uniq