1 # Copyright (C) 1994-1998, Index Data
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.7 1999-06-09 09:43:31 adam Exp $
14 INCLUDE=-I../include -I.
17 DEFS=$(INCLUDE) $(CDEFS)
18 LIB=$(LIBDIR)/libutil.a
19 PO = options.o log.o marcdisp.o oid.o wrbuf.o nmemsdup.o \
20 xmalloc.o readconf.o tpath.o nmem.o matchstr.o \
25 marcdump: marcdump.o $(LIB)
26 $(CC) $(CFLAGS) $(INCLUDE) -o marcdump marcdump.o $(LIB) $(LIBS)
36 $(CC) -c $(DEFS) $(CFLAGS) $<
39 rm -f *.[oa] test marcdump core mon.out gmon.out errlist
42 sed '/^#Depend/q' <Makefile >Makefile.tmp
43 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
44 mv -f Makefile.tmp Makefile
46 #Depend --- DOT NOT DELETE THIS LINE