#### -*- mode:makefile-gmake;coding:utf-8 -*-
####*****************************************************************************
####FILE:               Makefile
####LANGUAGE:           makefile-gmake
####SYSTEM:             POSIX
####USER-INTERFACE:     NONE
####DESCRIPTION
####
####    Makefile to generate the ddns server and client
####
####AUTHORS
####    <PJB> Pascal J. Bourguignon <pjb@informatimago.com>
####MODIFICATIONS
####    2012-04-08 <PJB> Created.
####BUGS
####LEGAL
####    AGPL3
####
####    Copyright Pascal J. Bourguignon 2012 - 2012
####
####    This program is free software: you can redistribute it and/or modify
####    it under the terms of the GNU Affero General Public License as published by
####    the Free Software Foundation, either version 3 of the License, or
####    (at your option) any later version.
####
####    This program is distributed in the hope that it will be useful,
####    but WITHOUT ANY WARRANTY; without even the implied warranty of
####    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
####    GNU Affero General Public License for more details.
####
####    You should have received a copy of the GNU Affero General Public License
####    along with this program.  If not, see <http://www.gnu.org/licenses/>.
####*****************************************************************************


CCL            = ccl
CCL_EVAL       =  --eval
CCL_LOAD       =  --load

#CLISP          = /usr/local/bin/clisp
CLISP          = /data/languages/clisp/bin/clisp
CLISP_LOAD     =
CLISP_EVAL     = -repl -x

LISP           = $(CLISP)
LOAD           = $(CLISP_LOAD)
EVAL           = $(CLISP_EVAL)


all: server client

# server:
# 	$(LISP) $(LOAD) generate-server.lisp
# client:
# 	$(LISP) $(LOAD) generate-client.lisp

server:
	$(CLISP) -ansi -x '(load "generate-server.lisp")'
client:
	$(CLISP) -ansi -x '(load "generate-client.lisp")'

variables:
	which clisp

#### THE END ####
ViewGit