summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pttpi/cgi/Makefile')
-rw-r--r--pttpi/cgi/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/pttpi/cgi/Makefile b/pttpi/cgi/Makefile
new file mode 100644
index 00000000..42613de3
--- /dev/null
+++ b/pttpi/cgi/Makefile
@@ -0,0 +1,16 @@
+# $Id: Makefile,v 1.1 2003/05/19 01:33:00 in2 Exp $
+
+.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 *~