home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume26
/
faucet
/
part01
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-01-29
|
1KB
|
45 lines
# faucet and hose: network pipe utilities
# Copyright (C) 1992 Robert Forsman
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# under HPUX you will probably have to make using LDLIBS=-lBSD
#
CFLAGS =
FOBJS = faucet.o portname.o
HOBJS = hose.o portname.o
ALL = faucet hose
all : ${ALL}
faucet : ${FOBJS}
${CC} ${CFLAGS} -o $@ ${FOBJS} ${LDLIBS}
hose : ${HOBJS}
${CC} ${CFLAGS} -o $@ ${HOBJS} ${LDLIBS}
install : all
cp faucet hose ${HOME}/bin/`mach`
clean :
rm -f ${FOBJS} ${HOBJS} ${ALL}
rm -f *.o *~ *.CKP *.BAK core a.out
spotless: clean
rm -f *~ core hose faucet