Mercurial > ~darius > hgwebdir.cgi > paradise_server
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:4d6502ffaa5e | 2:2719a89505ba |
---|---|
1 # | |
2 | |
3 # Make sure that these correctly indicate where the server source and bin | |
4 # directories are: | |
5 SERVDIR = ../src | |
6 BINDIR = ../bin | |
7 | |
8 # This can also be set to gcc | |
9 CC = cc | |
10 | |
11 # If you're on a SysV type system, put -DSYSV here: | |
12 #CFLAGS = -O -I${SERVDIR} | |
13 | |
14 # Uncomment this line if youre on an HP/UX system: | |
15 #CFLAGS = -O Aa -I${SERVDIR} -DSYSV -D_HPUX_SOURCE | |
16 CFLAGS = -O -I${SERVDIR} -DSYSV -D_HPUX_SOURCE -DHAVE_RAND48 | |
17 | |
18 OBJS = data.o db.o file.o interface.o main.o | |
19 | |
20 | |
21 all: pped | |
22 | |
23 pped: ${OBJS} | |
24 ${CC} ${CFLAGS} -o $@ ${OBJS} -lm -lcurses | |
25 | |
26 clean: | |
27 rm -f *.o *.bak core pped | |
28 | |
29 install: ${BINDIR}/pped | |
30 | |
31 ${BINDIR}/pped: pped | |
32 -mv ${BINDIR}/pped ${BINDIR}/pped.old | |
33 -rm -f ${BINDIR}/pped.old | |
34 cp pped ${BINDIR}/pped | |
35 -chmod 700 ${BINDIR}/pped | |
36 |