1 # Makefile for Email gateway utilities
5 # Revision 1.7 1995/02/22 21:32:36 adam
8 # Revision 1.5 1995/02/22 08:51:46 adam
9 # Definition of CPP changed.
11 # Revision 1.4 1995/02/20 21:16:32 adam
14 # Revision 1.3 1995/02/15 17:45:43 adam
15 # Bug fix in iso2709 module.
17 # Revision 1.2 1995/02/10 17:05:18 adam
18 # New function iso2709_display to display MARC records in a
19 # line-by-line format. The iso2709_cvt function no longer
20 # prints the record to stderr.
22 # Revision 1.1.1.1 1995/02/09 17:27:11 adam
23 # Initial version of email gateway under CVS control.
27 CFLAGS=-g -Wall -pedantic -ansi
30 PO=iso2709.o iso27dis.o
34 all: $(TPROG1) $(TPROG2)
36 $(TPROG1): $(TPROG1).o $(LIB)
37 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
45 $(CC) -c $(DEFS) $(CFLAGS) $<
48 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
53 mv Makefile Makefile.tmp
54 sed '/^#Depend/q' <Makefile.tmp >Makefile
55 $(CPP) $(INCLUDE) -M *.c >>Makefile
59 $(CPP) $(INCLUDE) -M *.c >.depend
61 ifeq (.depend,$(wildcard .depend))
65 #Depend --- DOT NOT DELETE THIS LINE