version 1.4, 2000/01/07 21:49:13 |
version 1.8, 2014/03/29 19:50:31 |
|
|
# $OpenXM: OpenXM/src/phc/Makefile,v 1.3 2000/01/07 20:41:51 maekawa Exp $ |
# $OpenXM: OpenXM/src/phc/Makefile,v 1.7 2000/10/31 06:09:19 maekawa Exp $ |
|
|
|
OPENXM_CONTRIB=../../../OpenXM_contrib |
PROG=phc6 |
PROG=phc6 |
|
|
SRCS=phc6.c |
SRCS=phc6.c |
|
|
CC=gcc |
#CC=gcc |
BINDIR=../../bin |
BINDIR=../../bin |
|
|
all: $(PROG) |
all: $(PROG) |
|
|
install: all |
install: all |
install -c -s $(PROG) $(BINDIR)/$(PROG) |
if [ "`uname`" = "OSF1" ]; then \ |
|
installbsd -c -s $(PROG) $(BINDIR)/$(PROG) ; \ |
|
else \ |
|
install -c -s $(PROG) $(BINDIR)/$(PROG) ; \ |
|
fi |
|
|
clean: |
clean: |
rm -f $(PROG) |
rm -f $(PROG) |
|
|
|
distclean: |
|
rm -f $(BINDIR)/$(PROG) |
|
|
$(PROG): $(SRCS) |
$(PROG): $(SRCS) |
$(CC) -o $(PROG) $(SRCS) |
$(CC) -o $(PROG) $(SRCS) |
|
|
|
phcpack: |
|
(cd ${OPENXM_CONTRIB}/PHC/Objects/ ; make phc) |
|
gzip -c -9 /tmp/phc | uuencode phc.gz > ${BINDIR}/fbsd-phcv2p.gz.uuencoded |