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