version 1.7, 2000/10/31 06:09:19 |
version 1.9, 2019/01/01 07:17:52 |
|
|
# $OpenXM: OpenXM/src/phc/Makefile,v 1.6 2000/01/31 05:52:06 noro Exp $ |
# $OpenXM: OpenXM/src/phc/Makefile,v 1.8 2014/03/29 19:50:31 ohara Exp $ |
|
|
OPENXM_CONTRIB=../../../OpenXM_contrib |
OPENXM_CONTRIB=../../../OpenXM_contrib |
|
OpenXM_HOME=../../../OpenXM |
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 |
if [ "`uname`" = "OSF1" ]; then \ |
if [ "`uname`" = "OSF1" ]; then \ |
installbsd -c -s $(PROG) $(BINDIR)/$(PROG) ; \ |
installbsd -c -s $(PROG) $(BINDIR)/$(PROG) ; \ |
else \ |
else \ |
install -c -s $(PROG) $(BINDIR)/$(PROG) ; \ |
install -c -s $(PROG) $(BINDIR)/$(PROG) ; \ |
fi |
fi |
|
install-for-debug: |
|
rm -f ${OpenXM_HOME}/bin/phc6 |
|
(cd ${OpenXM_HOME}/bin ; ln -s ../src/phc/phc6 .) |
clean: |
clean: |
rm -f $(PROG) |
rm -f $(PROG) |
|
|
distclean: |
distclean: |
rm -f $(BINDIR)/$(PROG) |
rm -f $(BINDIR)/$(PROG) |
|
|
|
# -g for lldb |
$(PROG): $(SRCS) |
$(PROG): $(SRCS) |
$(CC) -o $(PROG) $(SRCS) |
$(CC) -o $(PROG) -g -I${OpenXM_HOME}/include $(SRCS) -L${OpenXM_HOME}/lib -lgc |
|
|
phcpack: |
phcpack: |
(cd ${OPENXM_CONTRIB}/PHC/Objects/ ; make phc) |
(cd ${OPENXM_CONTRIB}/PHC/Objects/ ; make phc) |