-
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)
$(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