X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2FMakefile;h=1af7ed43ac1f5bca13f94d6018f0a681818e14af;hb=77fe8ea4a114c45e899a63ccfe767ce0dff722a0;hp=07c2a9aad1ef934dc73d78547ef4077d04c3c49f;hpb=aa82967af8f06004b567ad1ed40c67b056c44e7b;p=yaz-moved-to-github.git diff --git a/odr/Makefile b/odr/Makefile index 07c2a9a..1af7ed4 100644 --- a/odr/Makefile +++ b/odr/Makefile @@ -1,13 +1,13 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.17 1995-04-18 08:15:11 quinn Exp $ +# $Id: Makefile,v 1.20 1995-05-30 10:25:46 quinn Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. LIBDIR=../lib LIBINCLUDE=-L$(LIBDIR) -CFLAGS= -g -Wall -pedantic -ansi -DODR_DEBUG +CFLAGS= -g -Wall -pedantic -ansi -DODR_DEBUG DEFS=$(INCLUDE) LIB=$(LIBDIR)/libodr.a LIBS=-lodr @@ -41,10 +41,9 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: $(CPP) $(INCLUDE) -M *.c >.depend