Skip to content

Commit 185a8ac

Browse files
shinderealainfrisch
authored andcommitted
In otherlibs/num: fix make warning about ignored `depend' target. (ocaml#776)
The `depend' target defined in Makefile.shared was ignored on Unix and Windows, because it is also defined in Makefile and Makefile.nt. The definition in Makefile.shared is an exact copy of the one in Makefile. This commit also removes the "include .depend" directive from Makefile.shared because this inclusion is handled in a system-dependent way in Makefile and Makefile.nt.
1 parent 657b342 commit 185a8ac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

otherlibs/num/Makefile.shared

-6
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,3 @@ clean::
2929

3030
bng.$(O): bng.h bng_digit.c \
3131
bng_amd64.c bng_ia32.c bng_ppc.c bng_sparc.c
32-
33-
depend:
34-
$(CC) -MM $(CFLAGS) *.c > .depend
35-
$(CAMLRUN) ../../tools/ocamldep -slash *.mli *.ml >> .depend
36-
37-
include .depend

0 commit comments

Comments
 (0)