Bug in the Makefile ? GENSOURCES removed from .depend dependencies. (circular issue)

FIXME Makefile to deal with the news files
This commit is contained in:
Léonard Gérard 2010-06-24 03:31:57 +02:00
parent 9fff8e4ad8
commit fc39057230

View file

@ -1,4 +1,3 @@
# $Id$
DATE = \`eval date\`
LIBDIR = \`eval pwd\`/../lib
@ -162,7 +161,7 @@ debug: byte
profile: OCAMLOPTFLAGS += -p
profile: opt
depend .depend: $(GENSOURCES)
depend .depend:
(for d in $(DIRECTORIES); \
do $(OCAMLDEP) $(INCLUDES) $$d/*.mli $$d/*.ml; \
done) > .depend
@ -225,4 +224,6 @@ ML = $(OBJ:.cmo=.ml)
wc:
wc $(ML)
include .depend