1# ******************************************************************************
2# 
3# libcsc: Make Subsystem
4# 
5# 	----------------------------------------------------------------
6# 
7# Copyright (c) 2001, Douglas R. Jerome, Peoria, AZ USA
8# 
9# 	This program is free software; you can redistribute it and/or modify
10# 	it under the terms of the GNU Library General Public License as
11# 	published by the Free Software Foundation; either version 2 of the
12# 	License, or (at your option) any later version.
13# 
14# 	This program is distributed in the hope that it will be useful,
15# 	but WITHOUT ANY WARRANTY; without even the implied warranty of
16# 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# 	GNU General Public License for more details.
18# 
19# 	You should have received a copy of the GNU Library General Public
20# 	License along with this program; if not, write to the Free Software
21# 	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22# 
23# 	----------------------------------------------------------------
24# 
25# FILE NAME
26# 
27# 	$RCSfile: Makefile.bin,v $
28# 	$Revision: 1.1 $
29# 	$Date: 2001/07/10 04:21:28 $
30# 
31# PROGRAM INFORMATION
32# 
33# 	Developed by:	libcsc project
34# 	Developer:	Douglas R. Jerome, drj, <jerome@primenet.com>
35# 
36# FILE DESCRIPTION
37# 
38# 	This is the bin directory make file.
39# 
40# CHANGE LOG
41# 
42# 	25jun01	drj	File generation.
43# 
44# ******************************************************************************
45
46
47# *************************************************************************** #
48# Macro Definitions                                                           #
49# *************************************************************************** #
50
51BINS	= libcsc-config
52
53
54# *************************************************************************** #
55# More Macro Definitions                                                      #
56# *************************************************************************** #
57
58INSTALL	= install -c
59
60
61# *************************************************************************** #
62# Make Rules
63# *************************************************************************** #
64
65%::	${PROJECTDIR}/RCS/%,v
66	$(CO) $(COFLAGS) $@ $<
67
68
69# *************************************************************************** #
70# Make Targets                                                                #
71# *************************************************************************** #
72
73default:
74	@echo "Nothing to do for default target."
75	@echo "Try \"make install\""
76
77install:
78	@for file in ${BINS}; do					\
79		if [ -r $${file} -a -n "${INSTALLEXE}" ]; then		\
80			${INSTALL} -m 755 $${file} ${INSTALLEXE};	\
81		else							\
82			echo "CANNOT ***** (displayed on next line)";	\
83			echo "${INSTALL} -m 755 $${file} ${INSTALLEXE}";\
84		fi							\
85	done
86
87clean:
88
89
90# end of Makefile
91