Using mfile.
[idzebra-moved-to-github.git] / bfile / Makefile
index efc75e6..235392d 100644 (file)
@@ -1,11 +1,10 @@
-
 SHELL=/bin/sh
 INCLUDE=-I../include
 TPROG=btest
 CFLAGS=-g -Wall
 DEFS=$(INCLUDE)
 LIB=../lib/bfile.a
-PO = open.o close.o xmalloc.o rdwr.o
+PO = bfile.o mfile.o
 CPP=cc -E
 
 all: $(LIB)
@@ -22,7 +21,7 @@ $(LIB): $(PO)
        $(CC) -c $(DEFS) $(CFLAGS) $<
 
 clean:
-       rm -f *.[oa] $(TPROG) core mon.out gmon.out
+       rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist
 
 dep depend:
        $(CPP) $(INCLUDE) -M *.c >.depend