unexport GCC_EXEC_PREFIX CC = gcc CFLAGS=$(CDEBUGFLAGS) all: weevil TANGO_OBJS = tango.o c_tango.o TANGO_SRCS = tango.c c_tango.c WEEVIL_OBJS = weevil.o c_weevil.o latex.o WEEVIL_SRCS = weevil.c c_weevil.c latex.c WEEVIL_TANGOS = weevil.tw c_weevil.tw latex.tw WEEVIL_DOCS = weevinfo.tex weevil.tex c_weevil.tex latex.tex weevil: $(WEEVIL_OBJS) $(CC) $(CFLAGS) -o weevil $(WEEVIL_OBJS) weevil.c: tango weevil.tw weevinfo.h ./tango -autoxref -lang c weevil.tw >weevil.c c_weevil.c: tango c_weevil.tw weevinfo.h ./tango -autoxref -lang c c_weevil.tw >c_weevil.c latex.c: tango latex.tw weevinfo.h ./tango -autoxref -lang c latex.tw >latex.c weevinfo.h: tango weevinfo.tw ./tango -autoxref -lang c weevinfo.tw >weevinfo.h weevdoc.dvi: $(WEEVIL_DOCS) latex weevdoc weevinfo.tex: weevil weevinfo.tw ./weevil -lang c weevinfo.tw >weevinfo.tex weevil.tex: weevil weevil.tw weevilref.xfr ./weevil -lang c weevil.tw >weevil.tex weevilref.xfr: c_weevil.xfr latex.xfr cat c_weevil.xfr latex.xfr >weevilref.xfr c_weevil.tex: weevil c_weevil.tw ./weevil -lang c c_weevil.tw >c_weevil.tex latex.tex: weevil latex.tw ./weevil -lang c latex.tw >latex.tex tango: $(TANGO_OBJS) $(CC) $(CFLAGS) -o tango $(TANGO_OBJS) tango.o: tango.c tango.h c_tango.o: c_tango.c co: co tango.c weevil.tw tw.sty doc: weevdoc.dvi userguid.dvi userguid.dvi: userguid.tex latex userguid.tex latex userguid.tex userguid.tex: userguid.tpc gpic -t userguid.tpc >userguid.tex clean: rm -f $(TANGO_OBJS) $(WEEVIL_OBJS) rm -f weevil tango rm -f weevinfo.xfr weevinfo.h weevinfo.tex weevinfo.aux rm -f weevil.xfr weevil.c weevil.tex weevil.aux weevilref.xfr rm -f c_weevil.xfr c_weevil.c c_weevil.tex c_weevil.aux rm -f latex.xfr latex.c latex.tex latex.aux rm -f hello.xfr hello.idx hello.ilg hello.ind hello.tex hello.aux rm -f hello.log hello.dvi hello hello.c rm -f weevdoc.idx weevdoc.ilg weevdoc.ind weevdoc.aux weevdoc.log rm -f weevdoc.dvi weevdoc.toc rm -f userguid.idx userguid.ilg userguid.ind userguid.aux rm -f userguid.log userguid.dvi userguid.tex