view bin/make-targets.sh @ 749:f7b939206baf

PS
author Jeff Hammel <k0scist@gmail.com>
date Tue, 30 Jun 2015 15:22:21 -0700
parents 71345f4de3ce
children d4403d13fb31
line wrap: on
line source

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