H = global_defs.h page.h O = random_rw.o BINS = dbtest CC = gcc CFLAGS = -g -Wall all: $(BINS) random_rw.o: random_rw.c $(H) $(CC) $(CFLAGS) -DVERBOSE -c random_rw.c -o random_rw.o dbtest.o: dbtest.c $(H) $(CC) $(CFLAGS) -c -o dbtest.o dbtest.c dbtest: dbtest.o $(O) $(H) $(CC) $(CFLAGS) -o dbtest random_rw.o dbtest.o file-structure: file-structure.c $(CC) $(CFLAGS) -D__USE_LARGEFILE64 -D__USE_FILE_OFFSET64 \ file-structure.c -o file-structure clean: rm -f $(O) veryclean: clean rm -f $(BINS) avail: chmod o+r *