phoned/Makefile

19 lines
526 B
Makefile
Raw Normal View History

2005-05-31 20:37:22 -04:00
# main makefile...
2005-06-26 20:15:42 -04:00
# $Amigan: phoned/Makefile,v 1.7 2005/06/27 00:15:42 dcp1990 Exp $
2005-05-31 20:37:22 -04:00
# Oh My Fucking God, this is such a big, unportable mess. Oh well.
# BSD Make > *
2005-06-26 20:15:42 -04:00
APPS=phonectl phoned lib scripts
2005-05-31 20:37:22 -04:00
APPSUF=${APPS:S/$/_app/}
APPSCLEAN=${APPS:S/$/_cl/}
all: ${APPSUF}
${APPSUF}:
@cd ${@:S/_app$//} && make
clean: ${APPSCLEAN} ourclean
${APPSCLEAN}:
@cd ${@:S/_cl$//} && make clean
ourclean:
# rm -f .conf
#.conf:
# @perl -e 'require 5.0001; require Modem::fgetty' \
# || echo "Needs Modem::Vgetty and perl 5.0001 at least."