From: Adam Dickmeiss Date: Tue, 16 Aug 1994 15:57:21 +0000 (+0000) Subject: The first utility modules. X-Git-Tag: ZEBRA.1.0~928 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=4a3c83ef0b8546dfef27e595f756893e3b082c0e;hp=386ab4adf8b562cecc5d4a0156a881e40e8b54d3;p=idzebra-moved-to-github.git The first utility modules. --- diff --git a/util/Makefile b/util/Makefile new file mode 100644 index 0000000..33d4079 --- /dev/null +++ b/util/Makefile @@ -0,0 +1,36 @@ +# Copyright (C) 1994, Index Data I/S +# All rights reserved. +# Sebastian Hammer, Adam Dickmeiss +# $Id: Makefile,v 1.1 1994-08-16 15:57:21 adam Exp $ + +SHELL=/bin/sh +INCLUDE=-I../include +TPROG=opt-test +CFLAGS=-g -Wall +DEFS=$(INCLUDE) +LIB=../lib/util.a +PO = options.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