phoned/Makefile

24 lines
646 B
Makefile
Raw Permalink Normal View History

2005-05-31 20:37:22 -04:00
# main makefile...
2005-06-27 17:05:51 -04:00
# $Amigan: phoned/Makefile,v 1.10 2005/06/27 21:05:51 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-27 16:47:08 -04:00
include global.mk
2005-06-27 17:05:51 -04:00
APPS=phonectl phoned lib scripts xfone
2005-05-31 20:37:22 -04:00
APPSUF=${APPS:S/$/_app/}
APPSCLEAN=${APPS:S/$/_cl/}
2005-06-27 16:47:08 -04:00
CLEANFILES=.config
2005-05-31 20:37:22 -04:00
all: ${APPSUF}
2005-06-27 16:47:08 -04:00
${APPSUF}: .config
2005-05-31 20:37:22 -04:00
@cd ${@:S/_app$//} && make
2005-06-27 17:05:51 -04:00
clean: ${APPSCLEAN} ourclean
2005-05-31 20:37:22 -04:00
${APPSCLEAN}:
@cd ${@:S/_cl$//} && make clean
ourclean:
2005-06-27 17:05:51 -04:00
rm -f ${CLEANFILES}
2005-06-27 16:47:08 -04:00
.config:
2005-06-27 17:05:51 -04:00
./configure.tcl $(PREFIX) ${TESTING}
2005-05-31 20:37:22 -04:00
# rm -f .conf
#.conf:
# @perl -e 'require 5.0001; require Modem::fgetty' \
# || echo "Needs Modem::Vgetty and perl 5.0001 at least."