phoned/Makefile
2005-06-27 20:47:08 +00:00

24 lines
608 B
Makefile

# main makefile...
# $Amigan: phoned/Makefile,v 1.8 2005/06/27 20:47:08 dcp1990 Exp $
# Oh My Fucking God, this is such a big, unportable mess. Oh well.
# BSD Make > *
include global.mk
APPS=phonectl phoned lib scripts
APPSUF=${APPS:S/$/_app/}
APPSCLEAN=${APPS:S/$/_cl/}
CLEANFILES=.config
all: ${APPSUF}
${APPSUF}: .config
@cd ${@:S/_app$//} && make
clean: ${APPSCLEAN} ourclean
${APPSCLEAN}:
@cd ${@:S/_cl$//} && make clean
ourclean:
.config:
./configure.tcl $(PREFIX)
# rm -f .conf
#.conf:
# @perl -e 'require 5.0001; require Modem::fgetty' \
# || echo "Needs Modem::Vgetty and perl 5.0001 at least."