phoned/Makefile

24 lines
622 B
Makefile
Raw Normal View History

2005-05-31 20:37:22 -04:00
# main makefile...
2005-06-27 16:57:04 -04:00
# $Amigan: phoned/Makefile,v 1.9 2005/06/27 20:57:04 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-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/}
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 16:57:04 -04:00
clean: ${APPSCLEAN} ourclean ${CLEANFILES}
2005-05-31 20:37:22 -04:00
${APPSCLEAN}:
@cd ${@:S/_cl$//} && make clean
ourclean:
2005-06-27 16:47:08 -04:00
.config:
./configure.tcl $(PREFIX)
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."