X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=isam%2FMakefile;h=51dd3d97bcedf32bad274b4a8dfda3a8f1334fab;hb=4461019c0de49358856cb1c84ca162395b247f16;hp=10810280cea0dca8d4e16e4426cb641a96a9e389;hpb=c6c40893444f2288cdea91d30dd92df0f285e67d;p=idzebra-moved-to-github.git diff --git a/isam/Makefile b/isam/Makefile index 1081028..51dd3d9 100644 --- a/isam/Makefile +++ b/isam/Makefile @@ -1,6 +1,11 @@ +# Copyright (C) 1994, Index Data I/S +# All rights reserved. +# Sebastian Hammer, Adam Dickmeiss +# $Id: Makefile,v 1.12 1995-01-24 16:01:34 adam Exp $ + SHELL=/bin/sh INCLUDE=-I../include -CFLAGS=-g -Wall -pedantic +CFLAGS=-g -Wall -pedantic -ansi DEFS=$(INCLUDE) LIB=../lib/isam.a PO = isam.o isutil.o rootblk.o memory.o physical.o @@ -8,6 +13,12 @@ CPP=cc -E all: $(LIB) +alll: $(LIB) isam-test issh + +test: test.c $(LIB) + $(CC) -g -o test -I../include test.c \ + ../lib/isam.a ../lib/bfile.a ../lib/util.a + isam-test: isam-test.c $(LIB) $(CC) -g -o isam-test -I../include isam-test.c \ ../lib/isam.a ../lib/bfile.a ../lib/util.a @@ -28,7 +39,7 @@ $(LIB): $(PO) $(CC) -c $(DEFS) $(CFLAGS) $< clean: - rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test + rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist test isam-test issh depend: depend2