Small
[idzebra-moved-to-github.git] / bfile / Makefile
index 2589c53..51d22d4 100644 (file)
@@ -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