summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/Makefile
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 09:33:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 09:33:00 +0800
commit0b54f94516ef2b1fcb18233daa9ce488b100ee43 (patch)
treecdc2ab6f86dac29102e03c2457d4f9aee512d94b /pttpi/cgi/Makefile
parent242ccc3bd1a4670d4dd969d20dd1b41731e94899 (diff)
downloadpttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.tar
pttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.tar.gz
pttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.tar.bz2
pttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.tar.lz
pttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.tar.xz
pttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.tar.zst
pttbbs-0b54f94516ef2b1fcb18233daa9ce488b100ee43.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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 *~