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