1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.9 1994-09-20 09:02:56 adam Exp $
10 CFLAGS=-O -Wall -g -pedantic
13 PO = dopen.o dclose.o drdwr.o open.o close.o insert.o lookup.o
18 $(TPROG1): $(TPROG1).o $(LIB)
19 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/bfile.a ../lib/util.a
21 $(TPROG2): $(TPROG2).o $(LIB)
22 $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o ../lib/util.a
31 $(CC) -c $(DEFS) $(CFLAGS) $<
34 rm -f *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist
37 mv Makefile Makefile.tmp
38 sed '/^#Depend/q' <Makefile.tmp >Makefile
39 $(CPP) $(INCLUDE) -M *.c >>Makefile
41 #Depend --- DOT NOT DELETE THIS LINE