From 0a7aae7ab05e08e92b8d3cfd1ff68942f4321fea Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Aug 1994 16:19:23 +0000 Subject: [PATCH] Cached files with fixed block size. --- bfile/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 bfile/Makefile diff --git a/bfile/Makefile b/bfile/Makefile new file mode 100644 index 0000000..efc75e6 --- /dev/null +++ b/bfile/Makefile @@ -0,0 +1,32 @@ + +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 +CPP=cc -E + +all: $(LIB) + +$(TPROG): $(TPROG).o $(LIB) + $(CC) -o $(TPROG) $(TPROG).o $(LIB) + +$(LIB): $(PO) + rm -f $(LIB) + ar qc $(LIB) $(PO) + ranlib $(LIB) + +.c.o: + $(CC) -c $(DEFS) $(CFLAGS) $< + +clean: + rm -f *.[oa] $(TPROG) core mon.out gmon.out + +dep depend: + $(CPP) $(INCLUDE) -M *.c >.depend + +#ifeq (.depend,$(wildcard .depend)) +include .depend +#endif -- 1.7.10.4