---- D=09-Oct-1992 A=Ross Williams S=A make file for FunnelWeb K=funnelweb make file makefile dougal scott ---- A MAKE FILE FOR FUNNELWEB ========================= The distribution kit for FunnelWeb 3.0 does not contain a Makefile. The reasons for this omission were a combination of the following: * I didn't use a Makefile when I build FunnelWeb: - On the PC I used Borland C++ which does not require a Makefile. - On the Mac I used THINK C which does not require a Makefile. - On the VAX I used a .COM file (supplied). - On Unix I used a compilation shellscript. * Compilers are now so fast that Makefiles are almost unnecessary. * Makefiles can be dangerous if they contain inconsistencies. * Those installing FunnelWeb are more likely to be performing at most one or two compilations, so why do they need a Makefile? * Laziness. However, the feedback I received indicated that lots of people wanted a makefile, and in fact Dougal Scott (dwagon@nella9.cc.monash.edu.au) actually sent me one which he constructed using the GNU C -MM option. Here it is: ------------------------SLICE and DICE here--------------------------------- OBJS= analyse.o as.o clock.o command.o data.o dump.o help.o help_gnu.o list.o \ lister.o machin.o mapper.o memory.o misc.o option.o parser.o scanner.o \ section.o table.o tangle.o texhead.o weave.o writfile.o main.o HDRS= analyse.h as.h clock.h command.h data.h dump.h environ.h help.h \ help_gnu.h list.h lister.h machin.h mapper.h memory.h misc.h option.h \ parser.h scanner.h section.h style.h table.h tangle.h texhead.h weave.h \ writfile.h CC=gcc CFLAGS=-O -Wall all: fw fw: $(OBJS) $(CC) -o fw $(OBJS) analyse.o : analyse.c style.h environ.h analyse.h as.h data.h clock.h list.h \ table.h option.h machin.h help.h section.h writfile.h lister.h misc.h as.o : as.c style.h environ.h as.h machin.h clock.o : clock.c style.h environ.h as.h clock.h machin.h command.o : command.c style.h environ.h analyse.h as.h command.h machin.h data.h \ clock.h list.h table.h option.h help.h section.h writfile.h dump.h lister.h \ memory.h mapper.h misc.h parser.h scanner.h tangle.h weave.h data.o : data.c data.h style.h environ.h clock.h list.h table.h option.h machin.h \ help.h section.h writfile.h dump.o : dump.c style.h environ.h as.h clock.h data.h list.h table.h option.h \ machin.h help.h section.h writfile.h dump.h misc.h help.o : help.c style.h environ.h as.h help.h help_gnu.h misc.h data.h clock.h \ list.h table.h option.h machin.h section.h writfile.h help_gnu.o : help_gnu.c style.h environ.h help_gnu.h help_gnu.ctx list.o : list.c style.h environ.h as.h machin.h memory.h list.h lister.o : lister.c style.h environ.h as.h data.h clock.h list.h table.h option.h \ machin.h help.h section.h writfile.h lister.h misc.h machin.o : machin.c style.h environ.h as.h machin.h main.o : main.c style.h environ.h as.h command.h machin.h data.h clock.h list.h \ table.h option.h help.h section.h writfile.h memory.h mapper.o : mapper.c style.h environ.h as.h machin.h mapper.h memory.h memory.o : memory.c style.h environ.h as.h machin.h memory.h misc.o : misc.c style.h environ.h as.h data.h clock.h list.h table.h option.h \ machin.h help.h section.h writfile.h memory.h misc.h option.o : option.c style.h environ.h as.h data.h clock.h list.h table.h option.h \ machin.h help.h section.h writfile.h misc.h parser.o : parser.c style.h environ.h as.h data.h clock.h list.h table.h option.h \ machin.h help.h section.h writfile.h lister.h mapper.h memory.h misc.h parser.h scanner.o : scanner.c style.h environ.h as.h clock.h data.h list.h table.h option.h \ machin.h help.h section.h writfile.h dump.h lister.h mapper.h memory.h misc.h \ scanner.h section.o : section.c style.h environ.h as.h section.h table.o : table.c style.h environ.h as.h machin.h memory.h table.h tangle.o : tangle.c style.h environ.h as.h data.h clock.h list.h table.h option.h \ machin.h help.h section.h writfile.h lister.h memory.h misc.h tangle.h texhead.o : texhead.c style.h environ.h texhead.h writfile.h texhead.ctx weave.o : weave.c style.h environ.h as.h data.h clock.h list.h table.h option.h \ machin.h help.h section.h writfile.h lister.h misc.h texhead.h weave.h writfile.o : writfile.c style.h environ.h as.h machin.h writfile.h ------------------------SLICE and DICE here--------------------------------- ----