1 # Makefile for Email gateway utilities
5 # Revision 1.3 1995/02/15 17:45:43 adam
6 # Bug fix in iso2709 module.
8 # Revision 1.2 1995/02/10 17:05:18 adam
9 # New function iso2709_display to display MARC records in a
10 # line-by-line format. The iso2709_cvt function no longer
11 # prints the record to stderr.
13 # Revision 1.1.1.1 1995/02/09 17:27:11 adam
14 # Initial version of email gateway under CVS control.
18 CFLAGS=-g -Wall -pedantic -ansi
21 PO=iso2709.o iso27dis.o
27 $(TPROG1): $(TPROG1).o $(LIB)
28 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
36 $(CC) -c $(DEFS) $(CFLAGS) $<
39 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
44 mv Makefile Makefile.tmp
45 sed '/^#Depend/q' <Makefile.tmp >Makefile
46 $(CPP) $(INCLUDE) -M *.c >>Makefile
50 $(CPP) $(INCLUDE) -M *.c >.depend
52 ifeq (.depend,$(wildcard .depend))
56 #Depend --- DOT NOT DELETE THIS LINE