home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-09-07 | 1.2 KB | 44 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
-
- faucet : ${FOBJS}
- ${CC} ${CFLAGS} -o $@ ${FOBJS} ${LDLIBS}
-
- hose : ${HOBJS}
- ${CC} ${CFLAGS} -o $@ ${HOBJS} ${LDLIBS}
-
- install : all
- cp faucet hose ${HOME}/bin/`mach`
- cp faucet.1 hose.1 ${HOME}/man/man1
-
- clean :
- rm -f ${FOBJS} ${HOBJS}
-
- spotless: clean
- rm -f *~ core hose faucet
-