X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=bfile%2FMakefile;h=3fa5f2fff900e936b29f938a373985f673007fd4;hb=f8a58c40f789bc7f0694ad085b6af815a5ee1fc3;hp=235392db0972d606b917b73109a0c9ec7f9deda5;hpb=f69ee5ec6b2a86b7ac049992c19b9b0410705404;p=idzebra-moved-to-github.git diff --git a/bfile/Makefile b/bfile/Makefile index 235392d..3fa5f2f 100644 --- a/bfile/Makefile +++ b/bfile/Makefile @@ -1,7 +1,7 @@ SHELL=/bin/sh INCLUDE=-I../include TPROG=btest -CFLAGS=-g -Wall +CFLAGS=-g -Wall -pedantic DEFS=$(INCLUDE) LIB=../lib/bfile.a PO = bfile.o mfile.o @@ -24,8 +24,8 @@ clean: rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist dep depend: - $(CPP) $(INCLUDE) -M *.c >.depend + mv Makefile Makefile.tmp + sed '/^#Depend/q' Makefile + $(CPP) $(INCLUDE) -M *.c >>Makefile -#ifeq (.depend,$(wildcard .depend)) -include .depend -#endif +#Depend --- DOT NOT DELETE THIS LINE