Upgrade version number to 1.0b22.
[clon.git] / termio / Makefile
blobf83c5cb4c952e671df2ae6673a5505e6991cc588
1 ### Makefile --- termio directory
3 ## Copyright (C) 2012 Didier Verna
5 ## Author: Didier Verna <didier@lrde.epita.fr>
6 ## Maintainer: Didier Verna <didier@lrde.epita.fr>
8 ## This file is part of Clon.
10 ## Permission to use, copy, modify, and distribute this software for any
11 ## purpose with or without fee is hereby granted, provided that the above
12 ## copyright notice and this permission notice appear in all copies.
14 ## THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15 ## WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16 ## MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17 ## ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18 ## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19 ## ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20 ## OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 ### Commentary:
25 ## Contents management by FCM version 0.1.
28 ### Code:
30 TOP_DIR := ..
32 include $(TOP_DIR)/Makefile.cnf
34 hack: all
36 include $(TOP_DIR)/Makefile.inc
39 SUBDIRS := sbcl cffi
41 all:
42 $(MAKE) gen TARGET=all
44 clean:
45 -rm *~
46 $(MAKE) gen TARGET=clean
48 distclean: clean
49 -rm -fr $($(LISP)_BINLOC)-*
50 $(MAKE) gen TARGET=distclean
52 gen:
53 @for i in $(SUBDIRS) ; do \
54 echo "making $(TARGET) in $${i} ..." ; \
55 ( cd $${i} && $(MAKE) $(TARGET) ) ; \
56 done
58 .DEFAULT:
59 $(MAKE) gen TARGET=$@
61 .PHONY: hack all \
62 clean distclean \
63 gen
66 ### Makefile ends here