summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/Makefile
blob: 8b7b61a12de3cf5453834996faa00c384edf5353 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $Id$

.include "../../pttbbs.mk"

CFLAGS+=    -I../../include `xmlrpc-c-config cgi-server --cflags`
LDFLAGS+=   `xmlrpc-c-config cgi-server --libs`

UTIL_OBJS=  \
    ../../util/util_cache.o ../../util/util_record.o ../../util/util_passwd.o 
all:    pttpi.cgi

pttpi.cgi: pttpi.c
    $(CC) $(CFLAGS) $(LDFLAGS) -o pttpi.cgi pttpi.c $(UTIL_OBJS)

clean:
    rm -f *.cgi *~