summaryrefslogtreecommitdiffstats
path: root/mbbsd.icc/Makefile
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-04 21:13:10 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-04 21:13:10 +0800
commit0aacb10f9a186ad3540c1ddce678c4f1ef78c836 (patch)
treeca776886cbc596d8191ee590e5f631cae3576dae /mbbsd.icc/Makefile
parent13b612a4f14d0168da210f3c9189dc5341deeba6 (diff)
downloadpttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.tar
pttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.tar.gz
pttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.tar.bz2
pttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.tar.lz
pttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.tar.xz
pttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.tar.zst
pttbbs-0aacb10f9a186ad3540c1ddce678c4f1ef78c836.zip
global var
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@282 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd.icc/Makefile')
-rw-r--r--mbbsd.icc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd.icc/Makefile b/mbbsd.icc/Makefile
index ceacb632..20c7a115 100644
--- a/mbbsd.icc/Makefile
+++ b/mbbsd.icc/Makefile
@@ -34,7 +34,7 @@ CFLAGS+= -DNO_FORK
GCCUSE=gcc -pipe -Wall $(CFLAGS) -c
.SUFFIXES: .c .o
-.c.o:
+.c.o: ../include/var.h
iccbin -D__FreeBSD__ -D__FreeBSD $(CFLAGS) -c ../mbbsd/$*.c
all: $(PROG)
@@ -42,6 +42,9 @@ all: $(PROG)
$(PROG): $(OBJS)
cc $(LDFLAGS) -o $(PROG) $(OBJS)
+../include/var.h: var.c
+ perl ../util/parsevar.pl < var.c > ../include/var.h
+
install: $(PROG)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROG) $(BBSHOME)/bin/