[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / phc

File: [local] / OpenXM / src / phc / Makefile (download)

Revision 1.6, Mon Jan 31 05:52:06 2000 UTC (24 years, 3 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.5: +6 -2 lines

{gnuplot,phc,tigers}/Makefile : 'installbsd' should be used on Digital UNIX.
asir-contrib/.../Makefile : 'extract_func' -> 'extract_func -j' for japanese
                                               help files.
misc.texi : an update

# $OpenXM: OpenXM/src/phc/Makefile,v 1.6 2000/01/31 05:52:06 noro Exp $

PROG=phc6

SRCS=phc6.c

CC=gcc
BINDIR=../../bin

all: $(PROG)

install: all
	if test `uname` = "OSF1" ; then \
		installbsd -c -s $(PROG) $(BINDIR)/$(PROG) ; \
	else \
		install -c -s $(PROG) $(BINDIR)/$(PROG) ; \
	fi

clean:
	rm -f $(PROG)

distclean:
	rm -f $(BINDIR)/$(PROG)

$(PROG): $(SRCS)
	$(CC) -o $(PROG) $(SRCS)