X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2FMakefile;h=51d22d4fd7c03b230247ea5b63e6c444bc633fd6;hb=b6918ef00ac2a731bb22b68e08b2df3b670ec589;hp=2589c53a3011a1364cef96b769e8c8a644b0a485;hpb=461e9d67822f7f6ae72a0522cb6e9960dedae501;p=idzebra-moved-to-github.git diff --git a/bfile/Makefile b/bfile/Makefile index 2589c53..51d22d4 100644 --- a/bfile/Makefile +++ b/bfile/Makefile @@ -1,10 +1,10 @@ SHELL=/bin/sh INCLUDE=-I../include TPROG=btest -CFLAGS=-g -Wall +CFLAGS=-g -Wall -pedantic DEFS=$(INCLUDE) LIB=../lib/bfile.a -PO = bfile.o +PO = bfile.o mfile.o CPP=cc -E all: $(LIB) @@ -21,11 +21,11 @@ $(LIB): $(PO) $(CC) -c $(DEFS) $(CFLAGS) $< clean: - rm -f *.[oa] $(TPROG) core mon.out gmon.out + rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist dep depend: $(CPP) $(INCLUDE) -M *.c >.depend -#ifeq (.depend,$(wildcard .depend)) +ifeq (.depend,$(wildcard .depend)) include .depend -#endif +endif