Mercurial > ~darius > hgwebdir.cgi > paradise_server
diff pped/Makefile @ 2:2719a89505ba
First entry of Paradise Server 2.9 patch 10 Beta
author | darius |
---|---|
date | Sat, 06 Dec 1997 04:37:01 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pped/Makefile Sat Dec 06 04:37:01 1997 +0000 @@ -0,0 +1,36 @@ +# + +# Make sure that these correctly indicate where the server source and bin +# directories are: +SERVDIR = ../src +BINDIR = ../bin + +# This can also be set to gcc +CC = cc + +# If you're on a SysV type system, put -DSYSV here: +#CFLAGS = -O -I${SERVDIR} + +# Uncomment this line if youre on an HP/UX system: +#CFLAGS = -O Aa -I${SERVDIR} -DSYSV -D_HPUX_SOURCE +CFLAGS = -O -I${SERVDIR} -DSYSV -D_HPUX_SOURCE -DHAVE_RAND48 + +OBJS = data.o db.o file.o interface.o main.o + + +all: pped + +pped: ${OBJS} + ${CC} ${CFLAGS} -o $@ ${OBJS} -lm -lcurses + +clean: + rm -f *.o *.bak core pped + +install: ${BINDIR}/pped + +${BINDIR}/pped: pped + -mv ${BINDIR}/pped ${BINDIR}/pped.old + -rm -f ${BINDIR}/pped.old + cp pped ${BINDIR}/pped + -chmod 700 ${BINDIR}/pped +