From 4a3c83ef0b8546dfef27e595f756893e3b082c0e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Aug 1994 15:57:21 +0000 Subject: [PATCH] The first utility modules. --- util/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 util/Makefile 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 -- 1.7.10.4