#******************************************************************** # $Author: lindner $ # $Revision: 1.3 $ # $Date: 1993/01/07 22:51:44 $ # $Source: /home/mudhoney/GopherSrc/release1.11/gopher/RCS/Makefile,v $ # $State: Rel $ # # Paul Lindner, University of Minnesota CIS. # # Copyright 1991, 1992 by the Regents of the University of Minnesota # see the file "Copyright" in the distribution for conditions of use. #******************************************************************** # MODULE: Makefile # Makefile for gopher client #********************************************************************* # Revision History: # $Log: Makefile,v $ # Revision 1.3 1993/01/07 22:51:44 lindner # Added download.o to list of objects # # Revision 1.2 1992/12/31 04:01:06 lindner # moved html.c to html2.c for VMS # # Revision 1.1 1992/12/10 23:32:16 lindner # gopher 1.1 release # #********************************************************************/ include ../Makefile.config OBJS = manager.o gopher.o globals.o ourutils.o cso.o \ subprocs.o html2.o HTML.o CURcurses.o hymoo.o gopherrc.o download.o CCFLAGS = $(OPT) $(GSYSTYPE) $(INCLUDES) -DGOPHERHELP=\"$(CLIENTLIB)/gopher.hlp\" TARGET = gopher all: $(TARGET) .c.o: $(CC) $(CCFLAGS) -c $< globals.o : globals.h version.h ../object/libgopher.a: (cd ..; $(MAKE) $(MFLAGS) objects) $(TARGET) : $(OBJS) ../object/libgopher.a $(CC) $(LDFLAGS) -o $@ $(OBJS) $(CLIENTLIBS) install : all -mv $(CLIENTDIR)/$(TARGET) $(CLIENTDIR)/$(TARGET).old $(INSTALL) -c $(TARGET) $(CLIENTDIR) $(INSTALL) -c gopher.hlp $(CLIENTLIB) clean: -rm -f $(TARGET) $(OBJS) *.out *~ core $(OBJS): gopher.h ../conf.h globals.o: globals.h